Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingOutputPropertiesTest.cs =================================================================== diff -u -r3bcc8993307e3b6dea8f496d6acbc9c474581787 -r8b37c0f11e7d78b71c298763124973e94845c87b --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingOutputPropertiesTest.cs (.../PipingOutputPropertiesTest.cs) (revision 3bcc8993307e3b6dea8f496d6acbc9c474581787) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingOutputPropertiesTest.cs (.../PipingOutputPropertiesTest.cs) (revision 8b37c0f11e7d78b71c298763124973e94845c87b) @@ -62,7 +62,7 @@ mocks.ReplayAll(); // Call - TestDelegate test = () => new PipingOutputProperties(new TestPipingOutput(), null, assessmentSection); + TestDelegate test = () => new PipingOutputProperties(PipingOutputTestFactory.Create(), null, assessmentSection); // Assert string paramName = Assert.Throws(test).ParamName; @@ -74,7 +74,7 @@ public void Constructor_AssessmentSectionNull_ThrowsArgumentNullException() { // Call - TestDelegate call = () => new PipingOutputProperties(new TestPipingOutput(), new PipingFailureMechanism(), null); + TestDelegate call = () => new PipingOutputProperties(PipingOutputTestFactory.Create(), new PipingFailureMechanism(), null); // Assert var exception = Assert.Throws(call); @@ -91,7 +91,7 @@ IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(failureMechanism, mocks); mocks.ReplayAll(); - var output = new TestPipingOutput(); + PipingOutput output = PipingOutputTestFactory.Create(); // Call var properties = new PipingOutputProperties(output, failureMechanism, assessmentSection); @@ -174,7 +174,7 @@ mocks.ReplayAll(); // Call - var properties = new PipingOutputProperties(new TestPipingOutput(), failureMechanism, assessmentSection); + var properties = new PipingOutputProperties(PipingOutputTestFactory.Create(), failureMechanism, assessmentSection); // Assert PropertyDescriptorCollection dynamicProperties = PropertiesTestHelper.GetAllVisiblePropertyDescriptors(properties);