### Question:
ReporterConfigMetadata { public static String toJsonAsString() { logger.entering(); Gson gson = new GsonBuilder().setPrettyPrinting().create(); JsonObject configItem = new JsonObject(); for (Entry<String, Map<String, String>> entry : ReporterConfigMetadata.getReporterMetaData().entrySet()) { Map<String, String> subMap = entry.getValue(); for (Entry<String, String> subEntry : subMap.entrySet()) { JsonObject configSubItem = new JsonObject(); configSubItem.addProperty(subEntry.getKey(), subEntry.getValue()); configItem.add(entry.getKey(), configSubItem); } } String json = gson.toJson(configItem); logger.exiting(json); return json; } private  ReporterConfigMetadata(); static void initReporterMetadata(); static void addReporterMetadataItem(String key, String itemType, String value); static Map<String, Map<String, String>> getReporterMetaData(); static String toJsonAsString(); static final String DISPLAY_LABEL; }### Answer:
@Test(groups = "unit") public void testInitialMetaDataHasCurrentDate() { String json = ReporterConfigMetadata.toJsonAsString(); assertTrue(json.contains("\"" + ReporterConfigMetadata.DISPLAY_LABEL + "\": \"Current Date\"")); }