use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.ActionResponse in project open-smart-grid-platform by OSGP.
the class BundledSetAdministrativeStatusSteps method theBundleResponseShouldContainASetAdministrativeStatusResponse.
@Then("^the bundle response should contain a set administrative status response$")
public void theBundleResponseShouldContainASetAdministrativeStatusResponse() 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 BundledSetPushSetupAlarmSteps method theBundleResponseShouldContainASetPushSetupAlarmResponse.
@Then("^the bundle response should contain a set push setup alarm response with values$")
public void theBundleResponseShouldContainASetPushSetupAlarmResponse(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 BundledSetPushSetupAlarmSteps method theBundleResponseShouldContainASetPushSetupAlarmResponse.
@Then("^the bundle response should contain a set push setup alarm response$")
public void theBundleResponseShouldContainASetPushSetupAlarmResponse() 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 BundledSetSpecialDaysSteps method theBundleResponseShouldContainASetSpecialDaysResponse.
@Then("^the bundle response should contain a set special days response$")
public void theBundleResponseShouldContainASetSpecialDaysResponse() 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 BundledSetAlarmNotificationsSteps method theBundleResponseShouldContainASetAlarmNotificationsResponse.
@Then("^the bundle response should contain a set alarm notifications response$")
public void theBundleResponseShouldContainASetAlarmNotificationsResponse() throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof ActionResponse).as("Not a valid response").isTrue();
}
Aggregations