Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ViewInfos/ClosingStructuresScenariosViewInfoTest.cs =================================================================== diff -u -r2190156241cd307f0d9d784f2ff50ed339c3beac -r6dcceb86c133559904472f725049b2fce51b01e9 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ViewInfos/ClosingStructuresScenariosViewInfoTest.cs (.../ClosingStructuresScenariosViewInfoTest.cs) (revision 2190156241cd307f0d9d784f2ff50ed339c3beac) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Plugin.Test/ViewInfos/ClosingStructuresScenariosViewInfoTest.cs (.../ClosingStructuresScenariosViewInfoTest.cs) (revision 6dcceb86c133559904472f725049b2fce51b01e9) @@ -252,9 +252,12 @@ { Data = new CalculationGroup() }; + + // Call + bool closeForData = info.CloseForData(view, assessmentSectionMock); - // Call & Assert - Assert.IsFalse(info.CloseForData(view, assessmentSectionMock)); + // Assert + Assert.IsFalse(closeForData); mocks.VerifyAll(); } @@ -275,8 +278,11 @@ Data = new CalculationGroup() }; - // Call & Assert - Assert.IsFalse(info.CloseForData(view, assessmentSectionMock)); + // Call + bool closeForData = info.CloseForData(view, assessmentSectionMock); + + // Assert + Assert.IsFalse(closeForData); mocks.VerifyAll(); } @@ -298,8 +304,11 @@ Data = failureMechanism.CalculationsGroup }; - // Call & Assert - Assert.IsTrue(info.CloseForData(view, assessmentSectionMock)); + // Call + bool closeForData = info.CloseForData(view, assessmentSectionMock); + + // Assert + Assert.IsTrue(closeForData); mocks.VerifyAll(); } @@ -312,8 +321,11 @@ view.Data = new CalculationGroup(); - // Call & Assert - Assert.IsFalse(info.CloseForData(view, failureMechanism)); + // Call + bool closeForData = info.CloseForData(view, failureMechanism); + + // Assert + Assert.IsFalse(closeForData); } [Test] @@ -325,8 +337,11 @@ view.Data = failureMechanism.CalculationsGroup; - // Call & Assert - Assert.IsTrue(info.CloseForData(view, failureMechanism)); + // Call + bool closeForData = info.CloseForData(view, failureMechanism); + + // Assert + Assert.IsTrue(closeForData); } [Test] @@ -343,8 +358,11 @@ view.Data = failureMechanism.CalculationsGroup; - // Call & Assert - Assert.IsFalse(info.CloseForData(view, failureMechanismContext)); + // Call + bool closeForData = info.CloseForData(view, failureMechanismContext); + + // Assert + Assert.IsFalse(closeForData); mocks.VerifyAll(); } @@ -362,8 +380,11 @@ view.Data = failureMechanism.CalculationsGroup; - // Call & Assert - Assert.IsTrue(info.CloseForData(view, failureMechanismContext)); + // Call + bool closeForData = info.CloseForData(view, failureMechanismContext); + + // Assert + Assert.IsTrue(closeForData); mocks.VerifyAll(); } }