use of edu.hawaii.its.api.type.GroupingsServiceResultException in project uhgroupings by uhawaii-system-its-ti-iam.
the class ErrorControllerAdviceTest method exceptionHandleTest.
@Test
public void exceptionHandleTest() throws GroupingsServiceResultException {
GroupingsServiceResultException GSRE = new GroupingsServiceResultException();
errorControllerAdvice.handleGroupingsServiceResultException(GSRE);
String SRE = "<400,edu.hawaii.its.api.type.GroupingsHTTPException: " + "Groupings Service resulted in FAILURE,[]>";
assertThat(errorControllerAdvice.handleGroupingsServiceResultException(GSRE).toString(), equalTo(SRE));
}
Aggregations