@Test
public void testCreateAzkabanEventReporter() {

    final Props props = new Props();
    props.put(AZKABAN_EVENT_REPORTING_ENABLED, "true");
    props.put(AZKABAN_EVENT_REPORTING_CLASS_PARAM,
            "azkaban.AzkabanEventReporterTest1");
    final AzkabanCommonModule azkabanCommonModule = new AzkabanCommonModule(props);
    final AzkabanEventReporter azkabanEventReporter = azkabanCommonModule
            .createAzkabanEventReporter();
    assertThat(azkabanEventReporter).isNotNull();
    assertThat(azkabanEventReporter).isInstanceOf(AzkabanEventReporterTest1.class);
}