use of io.spine.base.Response in project core-java by SpineEventEngine.
the class ResponsesShould method return_false_if_not_OK_response.
@Test
public void return_false_if_not_OK_response() {
final Response error = Response.newBuilder().setError(Error.getDefaultInstance()).build();
assertFalse(Responses.isOk(error));
}
Aggregations