Search in sources :

Example 1 with ActualMeterReadsResponse

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

the class BundledGetActualMeterReadsSteps method theBundleResponseShouldContainAGetActualMeterReadsResponse.

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

Aggregations

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