package org.arachb.api;

import org.junit.Before;
import org.junit.Test;

import junit.framework.TestCase;

public class TestTaxon extends TestCase {
	
	final static String TAXONNCBIID = "http://purl.obolibrary.org/obo/NCBITaxon_336608";

	@Before
	protected void setUp() throws Exception {
		super.setUp();
	}

	@Test
	public void testGetName2EthogramQuery() {
		Taxon testTaxon = new Taxon();
		String testQuery = testTaxon.getName2EthogramQuery("Habronattus");
		System.out.println(testQuery);
		assert(testQuery.contains("Habronattus"));
	}
	
	@Test
	public void testGetName2TaxonIdQuery(){
		Taxon testTaxon = new Taxon();
		String testQuery = testTaxon.getName2TaxonIdQuery("Habronattus");
		assert(testQuery.contains("Habronattus"));
	}

}

@@ -423,32 +423,31 @@
 xon.getName2
-Ethogram
+General
 Query(%22Habro

update method entrypoint