コード例 #1
0
  public final void testGetServiceSixdmlQueryServiceSuccess() throws Exception {

    Service s = this.getService("SixdmlQueryService");
    assertNotNull("Expected getService(SixdmlQueryService) to be not null", s);
    assertTrue(
        "Expected an instance of SixdmlQueryService instead of " + s.getClass(),
        s instanceof SixdmlQueryService);
  }
コード例 #2
0
  public final void testGetServiceSixdmlTransactionServiceSuccess() throws Exception {

    Service s = this.getService("SixdmlTransactionService");
    assertNotNull("Expected an instance of SixdmlTransactionService and not null.", s);
    assertTrue(
        "Expected an instance of SixdmlTransactionService instead of " + s.getClass(),
        s instanceof SixdmlTransactionService);
  }