server.send(sessionIndex, request).whenComplete((confirmation, throwable) -> receivedConfirmation = confirmation);
}
public boolean hasReceivedChangeAvailabilityConfirmation(String status) {
boolean result = receivedConfirmation instanceof ChangeAvailabilityConfirmation;
if (result)
<BUG>result &= ((ChangeAvailabilityConfirmation) receivedConfirmation).getStatus().equals(status);
</BUG>
return result;
}
public void sendChangeConfigurationRequest(String key, String value) throws Exception {

server.send(sessionIndex, request).whenComplete((confirmation, throwable) -> receivedConfirmation = confirmation);
}
public boolean hasReceivedChangeAvailabilityConfirmation(String status) {
boolean result = receivedConfirmation instanceof ChangeAvailabilityConfirmation;
if (result)
result &= ((ChangeAvailabilityConfirmation) receivedConfirmation).getStatus().toString().equals(status);
return result;
}
public void sendChangeConfigurationRequest(String key, String value) throws Exception {
