public class MyFavouritesFilterTest {
@Test
public void should_create_filter() {
MyFavouritesFilter template = new MyFavouritesFilter();
Filter filter = template.createFilter();
assertThat(template.getName()).isEqualTo("My favourites");
assertThat(filter).isNotNull();
assertThat(filter.isFavouritesOnly()).isTrue();
assertThat(filter.getCriteria()).isEmpty();
assertThat(filter.getColumns()).hasSize(3);
}