@Test
public void testInit() {

    ZTSClientNotificationSenderImpl ztsClientNotificationSender = new ZTSClientNotificationSenderImpl();
    NotificationManager notificationManager = Mockito.mock(NotificationManager.class);
    RolesProvider rolesProvider = Mockito.mock(RolesProvider.class);
    String serverName = "testServer";
    boolean initResult = ztsClientNotificationSender.init(notificationManager, rolesProvider, serverName);
    assertTrue(initResult);
    initResult = ztsClientNotificationSender.init(notificationManager, rolesProvider, null);
    assertFalse(initResult);
    initResult = ztsClientNotificationSender.init(notificationManager, null, serverName);
    assertFalse(initResult);
    initResult = ztsClientNotificationSender.init(null, rolesProvider, serverName);
    assertFalse(initResult);
}