We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d078cfc commit e0efa45Copy full SHA for e0efa45
1 file changed
test/ubic/basecode/ontology/ncbo/AnnotatorClientTest.java
@@ -20,13 +20,20 @@
20
21
import java.util.Collection;
22
23
+import org.junit.Assume;
24
+import org.junit.Before;
25
import org.junit.Test;
26
27
/**
28
* @author Paul
29
*/
30
public class AnnotatorClientTest {
31
32
+ @Before
33
+ public void setUp() {
34
+ Assume.assumeTrue( "", System.getProperty( "ncbo.api.key" ) != null );
35
+ }
36
+
37
@Test
38
public void test() throws Exception {
39
Collection<AnnotatorResponse> results = AnnotatorClient.findTerm( "cancer" );
0 commit comments