@Test
public void shouldSetPageInQuery() {

	Filter filter = new Filter(6, 1);
	Query query = mock(Query.class);
	filter.setPage(query);
	verify(query).setFirstResult(0);
	verify(query).setMaxResults(6);
}