### Question:
Filter { public Filter cacheable(boolean cacheable) { this.cacheable = cacheable; return this; } Filter(Class<?> clazz);  Filter(int perPage, int pageNo, Condition... conditions);  Filter();  Filter(Condition... conditions); Filter condition(String name, Object value); Filter condition(String name, Operator operator, Object value); Filter page(int pageNo, int perPage); Filter sortBy(String name, boolean asc); Filter sortBy(SortField sortField); Filter cacheable(boolean cacheable); Filter clone(boolean paginate); List<T> list(); long count(); void delete();  }### Answer:
@Test public void shouldSetCacheable() { Filter filter = new Filter(2, 20); filter.cacheable(true); assertTrue(filter.isCacheable()); filter.cacheable(false); assertFalse(filter.isCacheable()); }