@Test
public void loadSettingsShouldHandleBooleansWithStrangeValues() throws IOException {

    final Properties properties = new Properties();
    properties.setProperty(SOUND.getKey(), "yeah");
    properties.setProperty(LOGGING.getKey(), "nah");
    properties.setProperty(SMILEYS.getKey(), "nope");
    properties.setProperty(BALLOONS.getKey(), "yey");
    properties.setProperty(SYSTEM_TRAY.getKey(), "wow");
    when(propertyTools.loadProperties(anyString())).thenReturn(properties);
    loader.loadSettings(settings);
    assertFalse(settings.isSound());
    assertFalse(settings.isLogging());
    assertFalse(settings.isSmileys());
    assertFalse(settings.isBalloons());
    assertFalse(settings.isSystemTray());
}