@Test
public void testEliminateWhiteSpaces() {

    assertEquals(eliminateWhiteSpaces(null), null);
    assertEquals(eliminateWhiteSpaces(""), "");
    assertEquals(eliminateWhiteSpaces("asd"), "asd");
    assertEquals(eliminateWhiteSpaces("a "), "a");
    assertEquals(eliminateWhiteSpaces("a  a "), "aa");
    assertEquals(eliminateWhiteSpaces("a \t a \t\r\f"), "aa");
}