### Question:
StreamingAppRdsRoleConfigProviderUtil { public static String dataBaseTypeForCM(DatabaseVendor vendor) { return vendor == DatabaseVendor.POSTGRES ? "postgresql" : vendor.databaseType(); }  static String dataBaseTypeForCM(DatabaseVendor vendor);  }### Answer:
@Test public void testDataBaseTypeForCM() { EnumMap<DatabaseVendor, String> expected = new EnumMap<>(DatabaseVendor.class); for (DatabaseVendor vendor: DatabaseVendor.values()) { expected.put(vendor, vendor.databaseType()); } expected.put(DatabaseVendor.POSTGRES, "postgresql"); for (DatabaseVendor vendor: DatabaseVendor.values()) { assertThat(dataBaseTypeForCM(vendor)).isEqualTo(expected.get(vendor)); } }