### Question:
JobProperties { public String json() { Map<String, String> jsonMap = new LinkedHashMap<>(JobPropertiesEnum.values().length, 1); for (JobPropertiesEnum each : JobPropertiesEnum.values()) { jsonMap.put(each.getKey(), get(each)); } return GsonFactory.getGson().toJson(jsonMap); }  void put(final String key, final String value); String get(final JobPropertiesEnum jobPropertiesEnum); String json();  }### Answer:
@Test public void assertJson() { Assert.assertThat(new JobProperties().json(), Is.is(APIJsonConstants.getJobPropertiesJson(DefaultJobExceptionHandler.class.getCanonicalName()))); }