From 3a801028f37b47c33ca7b9231c204dffd2d19bc5 Mon Sep 17 00:00:00 2001 From: arus2023 Date: Thu, 5 Oct 2023 20:24:29 -0500 Subject: [PATCH] Removed 1 unnecessary stubbings in OpmlParserInputTest.java --- src/test/java/be/ceau/opml/OpmlParserInputTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/be/ceau/opml/OpmlParserInputTest.java b/src/test/java/be/ceau/opml/OpmlParserInputTest.java index b67c6ab..c4ec0ad 100644 --- a/src/test/java/be/ceau/opml/OpmlParserInputTest.java +++ b/src/test/java/be/ceau/opml/OpmlParserInputTest.java @@ -26,7 +26,6 @@ public class OpmlParserInputTest { @Test(expected = OpmlParseException.class) public void ioException() throws IOException, OpmlParseException { InputStream inputStream = Mockito.mock(InputStream.class); - Mockito.when(inputStream.read(new byte[0])).thenThrow(IOException.class); new OpmlParser().parse(inputStream); }