Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rb5dda9752bc1d895c6c88427ef75c1771b671808 -rba695b5898e5496e3641f5e676a7717993b04358 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs) (revision b5dda9752bc1d895c6c88427ef75c1771b671808) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationGroupContextTreeNodeInfoTest.cs) (revision ba695b5898e5496e3641f5e676a7717993b04358) @@ -621,8 +621,10 @@ failureMechanism, assessmentSectionMock); - var calculationItem = mocks.Stub(); - calculationItem.Stub(ci => ci.Name).Return("Nieuwe map"); + var calculationItem = new CalculationGroup + { + Name = "Nieuwe map" + }; var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver()); @@ -671,8 +673,10 @@ failureMechanism, assessmentSectionMock); - var calculationItem = mocks.Stub(); - calculationItem.Stub(ci => ci.Name).Return("Nieuwe berekening"); + var calculationItem = new GrassCoverErosionInwardsCalculation(new GeneralGrassCoverErosionInwardsInput()) + { + Name = "Nieuwe berekening" + }; var observer = mocks.StrictMock(); observer.Expect(o => o.UpdateObserver());