Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/PipingOutputContextTest.cs =================================================================== diff -u -r3bcc8993307e3b6dea8f496d6acbc9c474581787 -r8b37c0f11e7d78b71c298763124973e94845c87b --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/PipingOutputContextTest.cs (.../PipingOutputContextTest.cs) (revision 3bcc8993307e3b6dea8f496d6acbc9c474581787) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/PipingOutputContextTest.cs (.../PipingOutputContextTest.cs) (revision 8b37c0f11e7d78b71c298763124973e94845c87b) @@ -59,7 +59,7 @@ mocks.ReplayAll(); // Call - TestDelegate test = () => new PipingOutputContext(new TestPipingOutput(), null, assessmentSection); + TestDelegate test = () => new PipingOutputContext(PipingOutputTestFactory.Create(), null, assessmentSection); // Assert string paramName = Assert.Throws(test).ParamName; @@ -71,7 +71,7 @@ public void Constructor_AssessmentSectionNull_ThrowsArgumentNullException() { // Call - TestDelegate call = () => new PipingOutputContext(new TestPipingOutput(), new PipingFailureMechanism(), null); + TestDelegate call = () => new PipingOutputContext(PipingOutputTestFactory.Create(), new PipingFailureMechanism(), null); // Assert var exception = Assert.Throws(call); @@ -86,7 +86,7 @@ var assessmentSection = mocks.Stub(); mocks.ReplayAll(); - var output = new TestPipingOutput(); + PipingOutput output = PipingOutputTestFactory.Create(); var failureMechanism = new PipingFailureMechanism(); // Call