Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil.Test/RingtoetsProjectMigrationTestHelperTest.cs =================================================================== diff -u -r50051daeae0e7195d2cc72d704e8efd81e442f39 -r6ebf1183846a80242d3080794e3c216bd9256f4f --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil.Test/RingtoetsProjectMigrationTestHelperTest.cs (.../RingtoetsProjectMigrationTestHelperTest.cs) (revision 50051daeae0e7195d2cc72d704e8efd81e442f39) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil.Test/RingtoetsProjectMigrationTestHelperTest.cs (.../RingtoetsProjectMigrationTestHelperTest.cs) (revision 6ebf1183846a80242d3080794e3c216bd9256f4f) @@ -27,6 +27,7 @@ using Core.Common.Utils; using NUnit.Framework; using Ringtoets.Common.Utils; +using Ringtoets.Integration.Data; namespace Application.Ringtoets.Storage.TestUtil.Test { @@ -51,6 +52,21 @@ } [Test] + public void GetLatestProjectFilePath_Always_ReturnsProjectThatCanBeLoaded() + { + // Setup + string latestProjectfilePath = RingtoetsProjectMigrationTestHelper.GetLatestProjectFilePath(); + + var storage = new StorageSqLite(); + + // Call + var project = (RingtoetsProject) storage.LoadProject(latestProjectfilePath); + + // Assert + Assert.IsNotNull(project); + } + + [Test] public void GetOutdatedSupportedProjectFilePath_Always_ReturnsProjectFilePathToSupportedProjectVersion() { // Call