@Test
public void shouldCloneFilterWithConditionsWithoutPaginate() {

	Filter filter = new Filter(2, 20, mock(Condition.class));
	Filter clonedFilter = filter.clone(false);
	assertEquals(clonedFilter.getConditions().size(), 1);
	assertEquals(clonedFilter.getPageNo(), 1);
	assertEquals(clonedFilter.getPerPage(), Integer.MAX_VALUE);
}