Commit f5a3ad90 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

wrong exception was expected

parent 1d5f980b
......@@ -235,7 +235,7 @@ public class EntrezAnnotatorTest extends AnnotationTestFunctions {
}
}
@Test(expected = SourceNotAvailable.class)
@Test(expected = AnnotatorException.class)
public void testParseInvalidEntrezResponse() throws Exception {
WebPageDownloader downloader = entrezAnnotator.getWebPageDownloader();
GeneralCacheInterface cache = entrezAnnotator.getCache();
......@@ -253,7 +253,7 @@ public class EntrezAnnotatorTest extends AnnotationTestFunctions {
}
@Test(expected = SourceNotAvailable.class)
@Test(expected = AnnotatorException.class)
public void testParseInvalidEntrezResponse2() throws Exception {
WebPageDownloader downloader = entrezAnnotator.getWebPageDownloader();
GeneralCacheInterface cache = entrezAnnotator.getCache();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment