use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.AssociationLnObjectsResponse in project open-smart-grid-platform by OSGP.
the class BundledGetAssociationLnObjectListSteps method theBundleResponseShouldContainAGetAssociationLnObjectsResponse.
@Then("^the bundle response should contain a get association ln objects response with values$")
public void theBundleResponseShouldContainAGetAssociationLnObjectsResponse(final Map<String, String> values) throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof AssociationLnObjectsResponse).as("Not a valid response").isTrue();
assertThat(response.getResult().name()).as("Result is not as expected.").isEqualTo(values.get(PlatformSmartmeteringKeys.RESULT));
assertThat(StringUtils.isNotBlank(response.getResultString())).as("Result contains no data.").isTrue();
}
use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.AssociationLnObjectsResponse in project open-smart-grid-platform by OSGP.
the class BundledGetAssociationLnObjectListSteps method theBundleResponseShouldContainAGetAssociationLnObjectsResponse.
@Then("^the bundle response should contain a get association ln objects response$")
public void theBundleResponseShouldContainAGetAssociationLnObjectsResponse() throws Throwable {
final Response response = this.getNextBundleResponse();
assertThat(response instanceof AssociationLnObjectsResponse).as("Not a valid response").isTrue();
}
Aggregations