Remove duplicate test method.
@@ -6,7 +6,6 @@ import org.junit.jupiter.api.Test;
import edu.hm.hafner.analysis.Issue;
import edu.hm.hafner.analysis.LineRange;
-import edu.hm.hafner.analysis.ParsingException;
import edu.hm.hafner.analysis.Report;
import edu.hm.hafner.analysis.Severity;
import edu.hm.hafner.analysis.assertions.SoftAssertions;
@@ -109,12 +108,6 @@ class XmlParserTest extends StructuredFileParserTest {
}
}
- @Test
- void shouldThrowParserException() {
- assertThatThrownBy(() -> createParser().parse(createReaderFactory(ISSUES_EXCEPTION_FILE)))
- .isInstanceOf(ParsingException.class);
- }
-
@Test
void shouldAcceptSampleFile() {
assertThat(createParser().accepts(createReaderFactory(ISSUES_DEFAULT_FILE))).isTrue();
