@Test(dataProvider = "flatten")
public void testFlatten(String expected, String[] data, String separator) {

    assert expected.equals(StringUtils.flatten(data, separator));
    if(separator.equals(" "))
        assert expected.equals(StringUtils.flatten(data));
}