@Test
public void settingsListenerShouldEnableAndDisableLoggingBasedOnChangedSetting() {

    assertFalse(chatLogger.isOpen());
    settings.setLogging(true);
    assertTrue(chatLogger.isOpen());
    settings.setLogging(false);
    assertFalse(chatLogger.isOpen());
}