use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.management.DisableDebuggingAsyncRequest in project open-smart-grid-platform by OSGP.
the class DisableDebuggingRequestFactory method fromScenarioContext.
public static DisableDebuggingAsyncRequest fromScenarioContext() {
final DisableDebuggingAsyncRequest disableDebuggingAsyncRequest = new DisableDebuggingAsyncRequest();
disableDebuggingAsyncRequest.setCorrelationUid(RequestFactoryHelper.getCorrelationUidFromScenarioContext());
disableDebuggingAsyncRequest.setDeviceIdentification(RequestFactoryHelper.getDeviceIdentificationFromScenarioContext());
return disableDebuggingAsyncRequest;
}
use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.management.DisableDebuggingAsyncRequest in project open-smart-grid-platform by OSGP.
the class EnableAndDisableDebugging method theDisableDebugResponseShouldBe.
@Then("^the disable debug response should be \"([^\"]*)\"$")
public void theDisableDebugResponseShouldBe(final String result) throws Throwable {
final DisableDebuggingAsyncRequest disableDebuggingAsyncRequest = DisableDebuggingRequestFactory.fromScenarioContext();
final DisableDebuggingResponse disableDebuggingResponse = this.smartMeteringManagementResponseClientDisableDebugging.getResponse(disableDebuggingAsyncRequest);
assertThat(disableDebuggingResponse).as("DisableDebugRequestResponse should not be null").isNotNull();
assertThat(disableDebuggingResponse.getResult()).as("Expected result").isNotNull();
}
Aggregations