@Test
public void loadSettingsShouldIgnoreInvalidNickName() throws IOException {

    final Properties properties = new Properties();
    properties.setProperty(NICK_NAME.getKey(), "@Boss");
    when(propertyTools.loadProperties(anyString())).thenReturn(properties);
    final String defaultNickName = settings.getMe().getNick();
    assertTrue(Tools.isValidNick(defaultNickName));
    loader.loadSettings(settings);
    assertEquals(defaultNickName, settings.getMe().getNick());
}