diff --git a/annotation/src/test/java/lcsb/mapviewer/annotation/services/DrugbankHTMLParserTest.java b/annotation/src/test/java/lcsb/mapviewer/annotation/services/DrugbankHTMLParserTest.java index 61ce9441366bf214fb057670865f3eddc872a8f0..8b8b43403b2b7071ba071373fcb60e777844d657 100644 --- a/annotation/src/test/java/lcsb/mapviewer/annotation/services/DrugbankHTMLParserTest.java +++ b/annotation/src/test/java/lcsb/mapviewer/annotation/services/DrugbankHTMLParserTest.java @@ -14,15 +14,12 @@ import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; -import org.junit.After; -import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import org.springframework.beans.factory.annotation.Autowired; import lcsb.mapviewer.annotation.AnnotationTestFunctions; import lcsb.mapviewer.annotation.cache.GeneralCacheInterface; -import lcsb.mapviewer.annotation.cache.GeneralCacheWithExclusion; import lcsb.mapviewer.annotation.cache.SourceNotAvailable; import lcsb.mapviewer.annotation.cache.WebPageDownloader; import lcsb.mapviewer.annotation.data.Drug; @@ -40,19 +37,6 @@ public class DrugbankHTMLParserTest extends AnnotationTestFunctions { @Autowired private DrugbankHTMLParser drugBankHTMLParser; - @Autowired - private GeneralCacheInterface cache; - - @Before - public void setUp() throws Exception { - drugBankHTMLParser.setCache(new GeneralCacheWithExclusion(cache, 1)); - } - - @After - public void tearDown() throws Exception { - drugBankHTMLParser.setCache(cache); - } - @Test public void test1FindDrug() throws Exception { try {