Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs =================================================================== diff -u -r0226807215afa67cd8769b30e0b7af5a5dfce001 -ra5bf4f56dbf07e5cf48d0b874f5d46d7d02f0dba --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs) (revision 0226807215afa67cd8769b30e0b7af5a5dfce001) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewInfoTest.cs) (revision a5bf4f56dbf07e5cf48d0b874f5d46d7d02f0dba) @@ -90,7 +90,7 @@ } [Test] - public void CreateInstance_Always_SetsExpectedProperties() + public void CreateInstance_WithContext_SetsExpectedProperties() { // Setup var assessmentSection = new ObservableTestAssessmentSectionStub(); @@ -105,7 +105,7 @@ var grassCoverErosionOutwardsFailureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - var data = new GrassCoverErosionOutwardsWaveHeightLocationsContext( + var context = new GrassCoverErosionOutwardsWaveHeightLocationsContext( new ObservableList(), assessmentSection, grassCoverErosionOutwardsFailureMechanism); @@ -114,7 +114,7 @@ plugin.Activate(); // Call - var view = info.CreateInstance(data) as GrassCoverErosionOutwardsWaveHeightLocationsView; + var view = info.CreateInstance(context) as GrassCoverErosionOutwardsWaveHeightLocationsView; // Assert Assert.AreSame(assessmentSection, view.AssessmentSection);