Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismViewInfoTest.cs =================================================================== diff -u -r0bcae8b23e2364c988df54e70695322b5a8c9829 -r8c1fffbb415e7c2470be6d3fa2971103777d418e --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismViewInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismViewInfoTest.cs) (revision 0bcae8b23e2364c988df54e70695322b5a8c9829) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/ViewInfos/GrassCoverErosionInwardsFailureMechanismViewInfoTest.cs (.../GrassCoverErosionInwardsFailureMechanismViewInfoTest.cs) (revision 8c1fffbb415e7c2470be6d3fa2971103777d418e) @@ -68,11 +68,11 @@ public void GetViewName_WithGrassCoverErosionInwardsFailureMechanism_ReturnsNameOfFailureMechanism() { // Setup - var assessmentSectionMock = mocks.Stub(); + var assessmentSectionStub = mocks.Stub(); mocks.ReplayAll(); var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionMock); + var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionStub); using (var view = new GrassCoverErosionInwardsFailureMechanismView()) { @@ -88,12 +88,12 @@ public void CloseForData_ViewNotCorrespondingToRemovedAssessmentSection_ReturnsFalse() { // Setup - var assessmentSectionMock = mocks.Stub(); + var assessmentSectionStub = mocks.Stub(); var otherAssessmentSectionMock = mocks.Stub(); mocks.ReplayAll(); var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionMock); + var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionStub); using (var view = new GrassCoverErosionInwardsFailureMechanismView { @@ -113,19 +113,19 @@ public void CloseForData_ViewCorrespondingToRemovedAssessmentSection_ReturnsTrue() { // Setup - var assessmentSectionMock = mocks.Stub(); + var assessmentSectionStub = mocks.Stub(); mocks.ReplayAll(); var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionMock); + var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionStub); using (var view = new GrassCoverErosionInwardsFailureMechanismView { Data = grassCoverErosionInwardsFailureMechanismContext }) { // Call - bool closeForData = info.CloseForData(view, assessmentSectionMock); + bool closeForData = info.CloseForData(view, assessmentSectionStub); // Assert Assert.IsTrue(closeForData); @@ -137,13 +137,13 @@ public void CloseForData_ViewNotCorrespondingToRemovedFailureMechanism_ReturnsFalse() { // Setup - var assessmentSectionMock = mocks.Stub(); + var assessmentSectionStub = mocks.Stub(); mocks.ReplayAll(); var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); var otherGrassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionMock); + var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionStub); using (var view = new GrassCoverErosionInwardsFailureMechanismView { @@ -163,11 +163,11 @@ public void CloseForData_ViewCorrespondingToRemovedFailureMechanism_ReturnsTrue() { // Setup - var assessmentSectionMock = mocks.Stub(); + var assessmentSectionStub = mocks.Stub(); mocks.ReplayAll(); var grassCoverErosionInwardsFailureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionMock); + var grassCoverErosionInwardsFailureMechanismContext = new GrassCoverErosionInwardsFailureMechanismContext(grassCoverErosionInwardsFailureMechanism, assessmentSectionStub); using (var view = new GrassCoverErosionInwardsFailureMechanismView {