Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PresentationObjects/HeightStructuresCalculationContextTest.cs =================================================================== diff -u -rea180de6e9f5ba1108b4ff3cf7bb7e57de72a37a -re775448bfb8290e43d62340a53a08723bbc035c6 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PresentationObjects/HeightStructuresCalculationContextTest.cs (.../HeightStructuresCalculationContextTest.cs) (revision ea180de6e9f5ba1108b4ff3cf7bb7e57de72a37a) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PresentationObjects/HeightStructuresCalculationContextTest.cs (.../HeightStructuresCalculationContextTest.cs) (revision e775448bfb8290e43d62340a53a08723bbc035c6) @@ -31,23 +31,17 @@ [TestFixture] public class HeightStructuresCalculationContextTest { - private MockRepository mocksRepository; - - [SetUp] - public void SetUp() - { - mocksRepository = new MockRepository(); - } - [Test] public void ConstructorWithData_Always_ExpectedPropertiesSet() { // Setup - var failureMechanism = new HeightStructuresFailureMechanism(); - var calculation = new HeightStructuresCalculation(); + var mocksRepository = new MockRepository(); var assessmentSectionMock = mocksRepository.StrictMock(); mocksRepository.ReplayAll(); + var calculation = new HeightStructuresCalculation(); + var failureMechanism = new HeightStructuresFailureMechanism(); + // Call var context = new HeightStructuresCalculationContext(calculation, failureMechanism, assessmentSectionMock);