use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ActionResponse in project open-smart-grid-platform by OSGP.
the class BundledSetConfigurationObjectSteps method theBundleResponseShouldContainASetConfigurationObjectResponse.
@Then("^the bundle response should contain a set configuration object response with values$")
public void theBundleResponseShouldContainASetConfigurationObjectResponse(final Map<String, String> values) throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof ActionResponse).as("Not a valid response").isTrue();
assertThat(response.getResult().name()).as("Result is not as expected.").isEqualTo(values.get(PlatformSmartmeteringKeys.RESULT));
}
use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ActionResponse in project open-smart-grid-platform by OSGP.
the class BundledSynchronizeTimeSteps method theBundleResponseShouldContainASynchronizeTimeResponse.
@Then("^the bundle response should contain a synchronize time response$")
public void theBundleResponseShouldContainASynchronizeTimeResponse() throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof ActionResponse).as("Not a valid response").isTrue();
}
use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ActionResponse in project open-smart-grid-platform by OSGP.
the class BundledScanMbusChannelsSteps method theBundleResponseShouldContainAScanMbusChannelsResponse.
@Then("^the bundle response should contain a scan mbus channels response$")
public void theBundleResponseShouldContainAScanMbusChannelsResponse() throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof ActionResponse).as("Not a valid response").isTrue();
}
use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ActionResponse in project open-smart-grid-platform by OSGP.
the class BundledGetSpecificAttributeValueSteps method theBundleResponseShouldContainAGetSpecificAttributeValueResponse.
@Then("^the bundle response should contain a get specific attribute value response$")
public void theBundleResponseShouldContainAGetSpecificAttributeValueResponse() throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof ActionResponse).as("Not a valid response").isTrue();
}
use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ActionResponse in project open-smart-grid-platform by OSGP.
the class BundledSetActivityCalendarSteps method theBundleResponseShouldContainASetActivityCalendarResponse.
@Then("^the bundle response should contain a set activity calendar response$")
public void theBundleResponseShouldContainASetActivityCalendarResponse() throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof ActionResponse).as("Not a valid response").isTrue();
}
Aggregations