Search in sources :

Example 1 with CompleteJobCommandStep1

use of io.camunda.zeebe.client.api.command.CompleteJobCommandStep1 in project zeebe by camunda.

the class CompleteJobTest method shouldNotHaveNullResponse.

@Test
public void shouldNotHaveNullResponse() {
    // given
    final CompleteJobCommandStep1 command = client.newCompleteCommand(12);
    // when
    final CompleteJobResponse response = command.send().join();
    // then
    assertThat(response).isNotNull();
}
Also used : CompleteJobCommandStep1(io.camunda.zeebe.client.api.command.CompleteJobCommandStep1) CompleteJobResponse(io.camunda.zeebe.client.api.response.CompleteJobResponse) ClientTest(io.camunda.zeebe.client.util.ClientTest) Test(org.junit.Test)

Example 2 with CompleteJobCommandStep1

use of io.camunda.zeebe.client.api.command.CompleteJobCommandStep1 in project zeebe by zeebe-io.

the class CompleteJobTest method shouldNotHaveNullResponse.

@Test
public void shouldNotHaveNullResponse() {
    // given
    final CompleteJobCommandStep1 command = client.newCompleteCommand(12);
    // when
    final CompleteJobResponse response = command.send().join();
    // then
    assertThat(response).isNotNull();
}
Also used : CompleteJobCommandStep1(io.camunda.zeebe.client.api.command.CompleteJobCommandStep1) CompleteJobResponse(io.camunda.zeebe.client.api.response.CompleteJobResponse) ClientTest(io.camunda.zeebe.client.util.ClientTest) Test(org.junit.Test)

Example 3 with CompleteJobCommandStep1

use of io.camunda.zeebe.client.api.command.CompleteJobCommandStep1 in project zeebe by camunda-cloud.

the class CompleteJobTest method shouldNotHaveNullResponse.

@Test
public void shouldNotHaveNullResponse() {
    // given
    final CompleteJobCommandStep1 command = client.newCompleteCommand(12);
    // when
    final CompleteJobResponse response = command.send().join();
    // then
    assertThat(response).isNotNull();
}
Also used : CompleteJobCommandStep1(io.camunda.zeebe.client.api.command.CompleteJobCommandStep1) CompleteJobResponse(io.camunda.zeebe.client.api.response.CompleteJobResponse) ClientTest(io.camunda.zeebe.client.util.ClientTest) Test(org.junit.Test)

Aggregations

CompleteJobCommandStep1 (io.camunda.zeebe.client.api.command.CompleteJobCommandStep1)3 CompleteJobResponse (io.camunda.zeebe.client.api.response.CompleteJobResponse)3 ClientTest (io.camunda.zeebe.client.util.ClientTest)3 Test (org.junit.Test)3