Index: Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs =================================================================== diff -u -r2698972311ca90c3af1171c554c4dec237e34111 -rab20c4eb4ca81bd3845d50210d2bdb301177af6a --- Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision 2698972311ca90c3af1171c554c4dec237e34111) +++ Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision ab20c4eb4ca81bd3845d50210d2bdb301177af6a) @@ -34,6 +34,7 @@ using Ringtoets.ClosingStructures.Data; using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.Probabilistics; +using Ringtoets.Common.Data.Structures; using Ringtoets.Common.Data.TestUtil; using Ringtoets.GrassCoverErosionInwards.Data; using Ringtoets.GrassCoverErosionOutwards.Data; @@ -280,9 +281,9 @@ AssertExpectedHeightStructureValues(demoAssessmentSection.HeightStructures.HeightStructures[0]); Assert.AreEqual(1, demoAssessmentSection.HeightStructures.CalculationsGroup.Children.Count); - HeightStructuresCalculation calculation = demoAssessmentSection.HeightStructures + StructuresCalculation calculation = demoAssessmentSection.HeightStructures .CalculationsGroup.GetCalculations() - .OfType() + .OfType>() .First(); AssertExpectedHeightStructuresInput(calculation.InputParameters); } @@ -323,9 +324,9 @@ AssertExpectedClosingStructureValues(demoAssessmentSection.ClosingStructures.ClosingStructures[0]); Assert.AreEqual(1, demoAssessmentSection.ClosingStructures.CalculationsGroup.Children.Count); - ClosingStructuresCalculation calculation = demoAssessmentSection.ClosingStructures + StructuresCalculation calculation = demoAssessmentSection.ClosingStructures .CalculationsGroup.GetCalculations() - .OfType() + .OfType>() .First(); AssertExpectedClosingStructuresInput(calculation.InputParameters); } @@ -468,9 +469,9 @@ { Assert.AreEqual(1, demoAssessmentSection.StabilityPointStructures.CalculationsGroup.Children.Count); AssertExpectedStabilityPointStructureValues(demoAssessmentSection.StabilityPointStructures.StabilityPointStructures[0]); - StabilityPointStructuresCalculation calculation = demoAssessmentSection.StabilityPointStructures + StructuresCalculation calculation = demoAssessmentSection.StabilityPointStructures .CalculationsGroup.GetCalculations() - .OfType() + .OfType>() .First(); AssertExpectedStabilityPointStructuresInput(calculation.InputParameters); }