{
// OK good
}
else if (response instanceof FailureResponse)
{
Failure failure = ((FailureResponse)response).getFailure();
AssertionFailedError afe = new AssertionFailedError(failure.getMessage());
afe.initCause(failure.getStackTrace());
throw afe;
}
else
{
throw new UnsupportedOperationException("Response " + response + " not implemented");