@Test
public void testCommaSeparatedProperty() throws Exception {

    String[] values1 = PropertyUtil.getCommaSeparatedList("commaseparatedNoSpaces");
    String[] values2 = PropertyUtil.getCommaSeparatedList("commaseparatedWithSpaces");
    for(int i = 0 ; i < values1.length; ++i) {
        assertEquals("Values in both arrays should match", values1[i], values2[i]);
    }
    String[] values3 = PropertyUtil.getCommaSeparatedList("non-existing-property");
    assertEquals("Non-existing list should be zero length", values3.length, 0);
}