Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/AssessmentSectionViewInfoTest.cs =================================================================== diff -u -r1ede9dbca0e72cd0dc425d8a68c807d78ab405e2 -r6f33b44599df032ecae3342b0aacd606a9e87c1f --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/AssessmentSectionViewInfoTest.cs (.../AssessmentSectionViewInfoTest.cs) (revision 1ede9dbca0e72cd0dc425d8a68c807d78ab405e2) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/AssessmentSectionViewInfoTest.cs (.../AssessmentSectionViewInfoTest.cs) (revision 6f33b44599df032ecae3342b0aacd606a9e87c1f) @@ -21,10 +21,12 @@ using System.Drawing; using System.Linq; +using Core.Common.Controls.Views; using Core.Common.Gui.Plugin; using Core.Common.TestUtil; using NUnit.Framework; using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Common.Data.TestUtil; using Ringtoets.Integration.Forms.Views; using RingtoetsFormsResources = Ringtoets.Integration.Forms.Properties.Resources; @@ -75,5 +77,18 @@ // Assert TestHelper.AssertImagesAreEqual(RingtoetsFormsResources.Map, image); } + + [Test] + public void CreateInstance_WithAssessmentSection_ReturnsAssessmentSectionView() + { + // Setup + var assessmentSection = new AssessmentSectionStub(); + + // Call + IView view = info.CreateInstance(assessmentSection); + + // Assert + Assert.IsInstanceOf(view); + } } } \ No newline at end of file