From f5a3ad90d5f1405f4a0c749d0aed3a4023e18936 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Wed, 24 Jul 2019 20:05:34 +0200
Subject: [PATCH] wrong exception was expected

---
 .../annotation/services/annotators/EntrezAnnotatorTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/annotation/src/test/java/lcsb/mapviewer/annotation/services/annotators/EntrezAnnotatorTest.java b/annotation/src/test/java/lcsb/mapviewer/annotation/services/annotators/EntrezAnnotatorTest.java
index 572cfb18a5..819b0363c3 100644
--- a/annotation/src/test/java/lcsb/mapviewer/annotation/services/annotators/EntrezAnnotatorTest.java
+++ b/annotation/src/test/java/lcsb/mapviewer/annotation/services/annotators/EntrezAnnotatorTest.java
@@ -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();
-- 
GitLab