Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Merge/AssessmentSectionProviderTest.cs =================================================================== diff -u -r7e75faf99817c4ce25763185811cba24c19bef67 -r13e5418cd377108fef80e63a6817d0e2ff95d40b --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Merge/AssessmentSectionProviderTest.cs (.../AssessmentSectionProviderTest.cs) (revision 7e75faf99817c4ce25763185811cba24c19bef67) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Merge/AssessmentSectionProviderTest.cs (.../AssessmentSectionProviderTest.cs) (revision 13e5418cd377108fef80e63a6817d0e2ff95d40b) @@ -130,39 +130,5 @@ Assert.AreEqual(1, assessmentSections.Count()); mocks.VerifyAll(); } - - [Test] - public void GivenGetAssessmentSectionsAlreadyCalled_WhenCallingAgainWithInvalidFilePath_ThenThrowsAssessmentSectionProviderException() - { - // Given - var mocks = new MockRepository(); - var viewParent = mocks.Stub(); - mocks.ReplayAll(); - - var provider = new AssessmentSectionProvider(viewParent); - string filePath = Path.Combine(testDataPath, "project.rtd"); - - DialogBoxHandler = (name, wnd) => - { - // Expect an activity dialog which is automatically closed - }; - - IEnumerable assessmentSections = provider.GetAssessmentSections(filePath); - - // Precondition - Assert.AreEqual(1, assessmentSections.Count()); - - DialogBoxHandler = (name, wnd) => - { - // Expect an activity dialog which is automatically closed - }; - - // When - TestDelegate call = () => assessmentSections = provider.GetAssessmentSections("filePath"); - - // Then - Assert.Throws(call); - mocks.VerifyAll(); - } } } \ No newline at end of file