SimpleSearchLayout extends AbstractModelSearchLayout<ID, T> { @Override public void setSearchValue(String propertyId, Object value) { getSearchForm().setSearchValue(propertyId, value); } SimpleSearchLayout(BaseService<ID, T> service, EntityModel<T> entityModel, QueryType queryType,
			FormOptions formOptions, SortOrder<?> sortOrder, FetchJoinInformation... joins); List<String> getColumnThresholds(); @Override ModelBasedSearchForm<ID, T> getSearchForm(); void setColumnThresholds(List<String> columnThresholds); @Override void setSearchValue(String propertyId, Object value); @Override void setSearchValue(String propertyId, Object value, Object auxValue);  }
@Test public void testSimpleSearchLayout_setSearchValueEnum() { SimpleSearchLayout<Integer, TestEntity> layout = createLayout(new FormOptions()); layout.build(); layout.setSearchValue("someEnum", TestEnum.A); layout.search(); assertEquals(0, layout.getGridWrapper().getDataProviderSize()); }