@Test
/**
 * test that case is ignored during String comparisons when set to true the constructor
 */
public void testCompare_differentCases() {

    List propertiesSIB = Arrays.asList(new String[] { "s", "i", "b" });
    BeanPropertyComparator sensitive = new BeanPropertyComparator(propertiesSIB, false);
    BeanPropertyComparator insensitive = new BeanPropertyComparator(propertiesSIB, true);
    A lesser = new A("SomeThing", new Integer(1), Boolean.valueOf(false));
    B greater = new B("something", new Integer(1), Boolean.valueOf(false));
    int equal = insensitive.compare(greater, lesser);
    Assert.assertTrue(equal == 0);
    int inequal = sensitive.compare(greater, lesser);
    Assert.assertTrue(inequal != 0);
}