ErrorResponse implements Response { @Override public String getErrorMessage() { return errorMessage; } ErrorResponse(String errorMessage); @Override String getErrorMessage(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void constructor_test() { ErrorResponse errorResponse = new ErrorResponse("message"); assertThat(errorResponse.getErrorMessage()).isEqualTo("message"); }