Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/DesignWaterLevelLocationContextPropertiesTest.cs =================================================================== diff -u -r06d52101c6518fba9a61ceac1ff72aced376a44c -r55e69da3d14b07eba90b3e48c39f32f134c9a271 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/DesignWaterLevelLocationContextPropertiesTest.cs (.../DesignWaterLevelLocationContextPropertiesTest.cs) (revision 06d52101c6518fba9a61ceac1ff72aced376a44c) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/DesignWaterLevelLocationContextPropertiesTest.cs (.../DesignWaterLevelLocationContextPropertiesTest.cs) (revision 55e69da3d14b07eba90b3e48c39f32f134c9a271) @@ -298,10 +298,8 @@ { // Setup var mocks = new MockRepository(); - var databaseObserver = mocks.StrictMock(); - databaseObserver.Expect(o => o.UpdateObserver()); - var locationObserver = mocks.StrictMock(); - locationObserver.Expect(o => o.UpdateObserver()); + var observer = mocks.StrictMock(); + observer.Expect(o => o.UpdateObserver()); mocks.ReplayAll(); HydraulicBoundaryLocation hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation @@ -323,8 +321,7 @@ } }; - hydraulicBoundaryDatabase.Attach(databaseObserver); - hydraulicBoundaryLocation.Attach(locationObserver); + hydraulicBoundaryLocation.Attach(observer); var properties = new DesignWaterLevelLocationContextProperties {