Search in sources :

Example 1 with ReadAlarmRegisterResponse

use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ReadAlarmRegisterResponse in project open-smart-grid-platform by OSGP.

the class BundledReadAlarmRegisterSteps method theBundleResponseShouldContainAReadAlarmRegisterResponse.

@Then("^the bundle response should contain a read alarm register response$")
public void theBundleResponseShouldContainAReadAlarmRegisterResponse() throws Throwable {
    final Response response = this.getNextBundleResponse();
    assertThat(response instanceof ReadAlarmRegisterResponse).as("Not a valid response").isTrue();
}
Also used : ReadAlarmRegisterResponse(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ReadAlarmRegisterResponse) Response(org.opensmartgridplatform.adapter.ws.schema.smartmetering.common.Response) ReadAlarmRegisterResponse(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ReadAlarmRegisterResponse) Then(io.cucumber.java.en.Then)

Aggregations

Then (io.cucumber.java.en.Then)1 ReadAlarmRegisterResponse (org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ReadAlarmRegisterResponse)1 Response (org.opensmartgridplatform.adapter.ws.schema.smartmetering.common.Response)1