Esempio n. 1
0
/** @author Donald G. Dunne */
public class AtsActionEndpointTest {

  @Rule public MethodRule performanceRule = IntegrationUtil.createPerformanceRule();

  @Rule public TestName testName = new TestName();

  private AtsActionEndpointApi actionEndpoint;

  @Before
  public void setUp() {
    actionEndpoint = IntegrationUtil.createAtsClient().getAction();
  }

  @Test
  public void testEndpointAlive() throws Exception {
    Assert.assertTrue(actionEndpoint.get().contains("Action Resource"));
  }
}
Esempio n. 2
0
 @Before
 public void setUp() {
   actionEndpoint = IntegrationUtil.createAtsClient().getAction();
 }