public class SummaryFilterTest {
@Test
public void testFilterAndReturnOrder() throws Exception {
SummaryFilter filter = new SummaryFilter();
PropertyDescriptor[] properties = filter.getPropertyDescriptors(new TestEntity(),false);
assert (properties.length == 2);
assert (properties[0].getName().equals("id"));
assert (properties[1].getName().equals("summaryField"));