### Question:
AlertServiceConfig { public final String getType() { return type; } protected  AlertServiceConfig();  AlertServiceConfig(final String serviceType); final void enable(); final void disable(); boolean isEnabled(); final String getType(); final String getServiceIdentifier(); final void setServiceIdentifier(final String id); @Override final int hashCode(); @Override final boolean equals(final Object obj); @Override final String toString();  }### Answer:
@Test public final void testGetName() { AlertServiceConfig asc = new AlertServiceConfig(JsonAlertService.NAME); Assert.assertEquals(asc.getType(), JsonAlertService.NAME); }