Search in sources :

Example 1 with AdministrativeStatusResponse

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

the class BundledGetAdministrativeStatusSteps method theBundleResponseShouldContainAGetAdministrativeStatusResponse.

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

Aggregations

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