use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetFirmwareVersionResponse in project open-smart-grid-platform by OSGP.
the class BundledGetFirmwareVersionSteps method theBundleResponseShouldContainAGetFirmwareVersionResponse.
@Then("^the bundle response should contain a get firmware version response$")
public void theBundleResponseShouldContainAGetFirmwareVersionResponse(final Map<String, String> settings) throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response).isInstanceOf(GetFirmwareVersionResponse.class);
final GetFirmwareVersionResponse getFirmwareVersionResponse = (GetFirmwareVersionResponse) response;
final List<FirmwareVersion> firmwareVersions = getFirmwareVersionResponse.getFirmwareVersions();
this.getFirmwareVersionSteps.checkFirmwareVersionResult(settings, firmwareVersions);
}
Aggregations