Search in sources :

Example 1 with GetFirmwareVersionGasResponse

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

the class BundledGetFirmwareVersionSteps method theBundleResponseShouldContainAGetFirmwareVersionGasResponse.

@Then("^the bundle response should contain a get firmware version gas response$")
public void theBundleResponseShouldContainAGetFirmwareVersionGasResponse(final Map<String, String> settings) throws Throwable {
    final Response response = this.getNextBundleResponse();
    assertThat(response).isInstanceOf(GetFirmwareVersionGasResponse.class);
    final GetFirmwareVersionGasResponse getFirmwareVersionGasResponse = (GetFirmwareVersionGasResponse) response;
    final FirmwareVersionGas firmwareVersionGas = getFirmwareVersionGasResponse.getFirmwareVersion();
    this.getFirmwareVersionSteps.checkFirmwareVersionGasResult(settings, firmwareVersionGas);
}
Also used : GetFirmwareVersionGasResponse(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetFirmwareVersionGasResponse) Response(org.opensmartgridplatform.adapter.ws.schema.smartmetering.common.Response) GetFirmwareVersionResponse(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetFirmwareVersionResponse) FirmwareVersionGas(org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.FirmwareVersionGas) GetFirmwareVersionGasResponse(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetFirmwareVersionGasResponse) Then(io.cucumber.java.en.Then)

Aggregations

Then (io.cucumber.java.en.Then)1 GetFirmwareVersionGasResponse (org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetFirmwareVersionGasResponse)1 GetFirmwareVersionResponse (org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetFirmwareVersionResponse)1 Response (org.opensmartgridplatform.adapter.ws.schema.smartmetering.common.Response)1 FirmwareVersionGas (org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.FirmwareVersionGas)1