@Test
public void shouldAddSortFieldsByObject() {

	Filter filter = new Filter();
	filter.sortBy(new SortField("column1", false));
	assertEquals(filter.getSortFields().size(), 1);
	assertEquals(filter.getSortFields().get(0).getName(), "column1");
	assertEquals(filter.getSortFields().get(0).isAsc(), false);
}