@Test
public void testTrim() throws Exception {

    String[] inString = new String[]{"     string1     ", "     string2     "};
    String[] expectedStrings = new String[]{"string1", "string2"};
    assertArrayEquals(expectedStrings, CarpaccioHelper.trim(inString));
}