Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/LognormalDistributionDesignVariableTypeConverterTest.cs =================================================================== diff -u -r1e49eb86c81e8446aeb6031cfd7a209bb0c11bac -rf1bc823fd2e2937317d9a7075c195d0d14cf7222 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/LognormalDistributionDesignVariableTypeConverterTest.cs (.../LognormalDistributionDesignVariableTypeConverterTest.cs) (revision 1e49eb86c81e8446aeb6031cfd7a209bb0c11bac) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/LognormalDistributionDesignVariableTypeConverterTest.cs (.../LognormalDistributionDesignVariableTypeConverterTest.cs) (revision f1bc823fd2e2937317d9a7075c195d0d14cf7222) @@ -251,15 +251,5 @@ [ReadOnly(true)] public DesignVariable Property { get; set; } } - - private class ClassWithDesignVariable - { - public ClassWithDesignVariable() - { - Property = new LognormalDistributionDesignVariable(new LognormalDistribution(3)); - } - - public DesignVariable Property { get; set; } - } } } \ No newline at end of file Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/NormalDistributionDesignVariableTypeConverterTest.cs =================================================================== diff -u -r1e49eb86c81e8446aeb6031cfd7a209bb0c11bac -rf1bc823fd2e2937317d9a7075c195d0d14cf7222 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/NormalDistributionDesignVariableTypeConverterTest.cs (.../NormalDistributionDesignVariableTypeConverterTest.cs) (revision 1e49eb86c81e8446aeb6031cfd7a209bb0c11bac) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/NormalDistributionDesignVariableTypeConverterTest.cs (.../NormalDistributionDesignVariableTypeConverterTest.cs) (revision f1bc823fd2e2937317d9a7075c195d0d14cf7222) @@ -250,15 +250,5 @@ [ReadOnly(true)] public DesignVariable Property { get; set; } } - - private class ClassWithDesignVariable - { - public ClassWithDesignVariable() - { - Property = new NormalDistributionDesignVariable(new NormalDistribution(3)); - } - - public DesignVariable Property { get; set; } - } } } \ No newline at end of file Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/PropertyDescriptors/ReadOnlyPropertyDescriptorDecoratorTest.cs =================================================================== diff -u -ra9c4c3b9c62339476e2e901bd2b402ed22ac772b -rf1bc823fd2e2937317d9a7075c195d0d14cf7222 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/PropertyDescriptors/ReadOnlyPropertyDescriptorDecoratorTest.cs (.../ReadOnlyPropertyDescriptorDecoratorTest.cs) (revision a9c4c3b9c62339476e2e901bd2b402ed22ac772b) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/PropertyDescriptors/ReadOnlyPropertyDescriptorDecoratorTest.cs (.../ReadOnlyPropertyDescriptorDecoratorTest.cs) (revision f1bc823fd2e2937317d9a7075c195d0d14cf7222) @@ -123,7 +123,7 @@ PropertyDescriptor getSetProperty = properties[0]; getSetProperty.SetValue(component, newValue); - var expectedPropertyValueAfterReset = component.SomeEditableProperty; + var expectedPropertyValueAfterSet = component.SomeEditableProperty; var wrappedProperty = new ReadOnlyPropertyDescriptorDecorator(getSetProperty); component.SomeEditableProperty = originalPropertyValue; @@ -132,7 +132,7 @@ wrappedProperty.SetValue(component, newValue); // Assert - Assert.AreEqual(expectedPropertyValueAfterReset, component.SomeEditableProperty); + Assert.AreEqual(expectedPropertyValueAfterSet, component.SomeEditableProperty); } [Test] Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/ShiftedLognormalDistributionDesignVariableTypeConverterTest.cs =================================================================== diff -u -ra9c4c3b9c62339476e2e901bd2b402ed22ac772b -rf1bc823fd2e2937317d9a7075c195d0d14cf7222 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/ShiftedLognormalDistributionDesignVariableTypeConverterTest.cs (.../ShiftedLognormalDistributionDesignVariableTypeConverterTest.cs) (revision a9c4c3b9c62339476e2e901bd2b402ed22ac772b) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TypeConverters/ShiftedLognormalDistributionDesignVariableTypeConverterTest.cs (.../ShiftedLognormalDistributionDesignVariableTypeConverterTest.cs) (revision f1bc823fd2e2937317d9a7075c195d0d14cf7222) @@ -193,11 +193,11 @@ { public ClassWithReadOnlyDesignVariable() { - Property = new NormalDistributionDesignVariable(new NormalDistribution(3)); + Property = new ShiftedLognormalDistributionDesignVariable(new ShiftedLognormalDistribution(3)); } [ReadOnly(true)] - public DesignVariable Property { get; set; } + public DesignVariable Property { get; set; } } } } \ No newline at end of file