Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicBoundaryDatabaseImporterTest.cs =================================================================== diff -u -r784c3e285900c9a4a29ce9cb27bba84358c354b2 -ra1942d6fcc0366f04df3ec296180edb75ac2a342 --- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision 784c3e285900c9a4a29ce9cb27bba84358c354b2) +++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision a1942d6fcc0366f04df3ec296180edb75ac2a342) @@ -348,50 +348,6 @@ } [Test] - [TestCase(true)] - [TestCase(false)] - public void Import_WithValidFileAndConfirmationRequired_InquiresAndUpdatesHydraulicBoundaryDatabase(bool confirmationRequired) - { - // Setup - var hydraulicBoundaryData = new HydraulicBoundaryData(); - - var mocks = new MockRepository(); - var handler = mocks.StrictMock(); - handler.Expect(h => h.IsConfirmationRequired(Arg.Is.Same(hydraulicBoundaryData), - Arg.Is.NotNull)) - .WhenCalled(invocation => - { - AssertReadHydraulicBoundaryDatabase((ReadHydraulicBoundaryDatabase) invocation.Arguments[1]); - }) - .Return(confirmationRequired); - - if (confirmationRequired) - { - handler.Expect(h => h.InquireConfirmation()).Return(true); - } - - handler.Expect(h => h.Update(Arg.Is.NotNull, - Arg.Is.NotNull, - Arg.Is.NotNull, - Arg>.Is.NotNull, - Arg.Is.NotNull, - Arg.Is.NotNull)) - .Return(Enumerable.Empty()); - mocks.ReplayAll(); - - var importer = new HydraulicBoundaryDatabaseImporter(hydraulicBoundaryData, handler, validHrdFilePath); - - // Call - var importResult = false; - void Call() => importResult = importer.Import(); - - // Assert - TestHelper.AssertLogMessageIsGenerated(Call, $"Gegevens zijn geïmporteerd vanuit bestand '{validHrdFilePath}'.", 1); - Assert.IsTrue(importResult); - mocks.VerifyAll(); - } - - [Test] [TestCaseSource(nameof(GetValidFiles))] public void Import_WithValidFileAndHlcdWithoutScenarioInformation_UpdatesHydraulicBoundaryDatabaseWithImportedData( string filePath, bool usePreprocessorClosure)