### Question:
Utils { public static Map<String, Object> makeError(String errorMessage, String errorCause, String errorPart) { Map<String, Object> error = new HashMap<>(); error.put(ERROR_MESSAGE, errorMessage); error.put(ERROR_CAUSE, errorCause); error.put(ERROR_PART, errorPart); return error; } private  Utils(); static Map<String, Object> makeError(String errorMessage, String errorCause, String errorPart); static Response getErrorResponse(String id, int status,
                                            String message, String context); static String createUuid(); static long parseDate(String value); static long parseDuration(String v); static String jsonStringFromObject(Object object); static ObjectMapper getObjectMapper(); static final String NOW; static final String DEFAULT_START_TIME; static final String DEFAULT_END_TIME; static final String NOT_SPECIFIED; static final String CLIENT_ID; static final String ERRORS; static final String ERROR_MESSAGE; static final String ERROR_CAUSE; static final String ERROR_PART; static final String START; static final String END; static final String COUNT; static final double DEFAULT_DOWNSAMPLE_MULTIPLIER; static final int DAYS_PER_YEAR; static final int DAYS_PER_WEEK; static final int HOURS_PER_DAY; static final int MINUTES_PER_HOUR; static final int SECONDS_PER_MINUTE; static final int SECONDS_PER_HOUR; static final int SECONDS_PER_DAY; static final int SECONDS_PER_WEEK; static final int SECONDS_PER_YEAR; }### Answer:
@Test public void testMakeError() throws Exception { String errorMessageString = "Error String"; String errorCauseString = "Error Cause String"; String errorPartString = "Error Part String"; Map<String, Object> subject = Utils.makeError(errorMessageString, errorCauseString, errorPartString); Assert.assertEquals("Error Cause of created object should match input.", subject.get(Utils.ERROR_CAUSE), errorCauseString); Assert.assertEquals("Error Message of created object should match input.", subject.get(Utils.ERROR_MESSAGE), errorMessageString); Assert.assertEquals("Error Part of created object should match input.", subject.get(Utils.ERROR_PART), errorPartString); }