### Question:
EnrichmentTagUploadMessageHttpStatusMapper { public HttpStatus getHttpStatus(String message) { HttpStatus httpStatus = messageStatusMap.get(message); if (httpStatus == null) { throw new IllegalArgumentException("no http status for the message: " + message); } return httpStatus; }  HttpStatus getHttpStatus(String message);  }### Answer:
@Test public void getHttpStatus_OK() { assertNotNull(enrichmentTagUploadMessageHttpStatusMapper.getHttpStatus(ERROR_AUTHENTICATION_FAILED)); }
@Test(expected=IllegalArgumentException.class) public void getHttpStatus_NotFound() { assertNotNull(enrichmentTagUploadMessageHttpStatusMapper.getHttpStatus("not existing one")); }
@Test public void getHttpStatus_HttpStatusShouldBeAssignedToEachMessage() throws IllegalArgumentException, IllegalAccessException { Field[] fields = EnrichmentTagUploadResponseMessages.class.getDeclaredFields(); for (Field field : fields) { if (Modifier.isStatic(field.getModifiers()) && field.getType().isAssignableFrom(String.class)) { assertNotNull(enrichmentTagUploadMessageHttpStatusMapper.getHttpStatus((String)field.get(null))); } } }