@@ -0,0 +1,1617 @@
+/*%0A *    Copyright 2015 West Coast Informatics, LLC%0A */%0Apackage com.wci.umls.server.test.jpa;%0A%0Aimport org.apache.log4j.Logger;%0Aimport org.junit.After;%0Aimport org.junit.AfterClass;%0Aimport org.junit.Before;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Aimport com.wci.umls.server.helpers.Branch;%0Aimport com.wci.umls.server.helpers.SearchResultList;%0Aimport com.wci.umls.server.jpa.helpers.PfscParameterJpa;%0Aimport com.wci.umls.server.jpa.services.ContentServiceJpa;%0Aimport com.wci.umls.server.services.ContentService;%0A%0A/**%0A * Sample test to get auto complete working%0A */%0Apublic class SemanticCategorySearchTest %7B%0A%0A  /** The service. */%0A  ContentService service = null;%0A%0A  /**%0A   * Setup class.%0A   */%0A  @BeforeClass%0A  public static void setupClass() %7B%0A    // do nothing%0A  %7D%0A%0A  /**%0A   * Setup.%0A   * @throws Exception%0A   */%0A  @Before%0A  public void setup() throws Exception %7B%0A    service = new ContentServiceJpa();%0A  %7D%0A%0A  /**%0A   * Test searches.%0A   *%0A   * @throws Exception the exception%0A   */%0A  @Test%0A  public void testSearches() throws Exception %7B%0A    Logger.getLogger(getClass()).info(%22Start test%22);%0A%0A    ContentService service = new ContentServiceJpa();%0A    SearchResultList list =%0A        service.findConceptsForQuery(%22SNOMEDCT_US%22, %222014_09_01%22, Branch.ROOT,%0A            %22atoms.nameSort:%5C%22%5BA-Z%5D.* (disorder)%5C%22%22,%0A            new PfscParameterJpa());%0A    Logger.getLogger(getClass()).info(%22 list = %22 + list);%0A%0A  %7D%0A%0A  /**%0A   * Teardown.%0A   */%0A  @After%0A  public void teardown() %7B%0A    // do nothing%0A  %7D%0A%0A  /**%0A   * Teardown class.%0A   */%0A  @AfterClass%0A  public static void teardownClass() %7B%0A    // do nothing%0A  %7D%0A%0A%7D%0A

add test class