Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsApplicationPluginTest.cs =================================================================== diff -u -r0bfd1f4e2a179c8575045e5af70dce2930665626 -r249fd5e4604012895724a9d7df67201332c9e7dc --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsApplicationPluginTest.cs (.../RingtoetsApplicationPluginTest.cs) (revision 0bfd1f4e2a179c8575045e5af70dce2930665626) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/RingtoetsApplicationPluginTest.cs (.../RingtoetsApplicationPluginTest.cs) (revision 249fd5e4604012895724a9d7df67201332c9e7dc) @@ -1,9 +1,12 @@ using System.Linq; using Core.Common.Base.Data; +using Core.Common.Base.IO; using Core.Common.Base.Plugin; using Core.Common.TestUtil; using NUnit.Framework; using Ringtoets.Integration.Data; +using Ringtoets.Integration.Plugin.FileImporters; + using RingtoetsFormsResources = Ringtoets.Integration.Forms.Properties.Resources; namespace Ringtoets.Integration.Plugin.Test @@ -49,6 +52,20 @@ } [Test] + public void GetFileImporters_ReturnsExpectedFileImporters() + { + // Setup + var plugin = new RingtoetsApplicationPlugin(); + + // Call + IFileImporter[] importers = plugin.GetFileImporters().ToArray(); + + // Assert + Assert.AreEqual(1, importers.Length); + Assert.AreEqual(1, importers.Count(i => i is ReferenceLineImporter)); + } + + [Test] [TestCase(AssessmentSectionType.Dike)] [TestCase(AssessmentSectionType.Dune)] public void WhenAddingAssessmentSection_GivenProjectHasAssessmentSection_ThenAddedAssessmentSectionHasUniqueName(AssessmentSectionType type)