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);
}
Aggregations