예제 #1
0
  /** Test get corpora by account. */
  @Test
  public void testGetCorporaByAccount() {
    Corpora corpora = service.listCorpora(PUBLIC);
    Assert.assertNotNull(corpora);
    Assert.assertFalse(corpora.getCorpora().isEmpty());

    corpora = service.listCorpora();
    Assert.assertNotNull(corpora);
    Assert.assertFalse(corpora.getCorpora().isEmpty());
  }
예제 #2
0
 /** Testlist corpora. */
 @Test
 public void testlistCorpora() {
   Corpora corpora = service.listCorpora();
   Assert.assertNotNull(corpora);
   Assert.assertFalse(corpora.getCorpora().isEmpty());
 }