use of de.metas.ui.web.material.cockpit.filters.MaterialCockpitFilters in project metasfresh-webui-api by metasfresh.
the class MaterialCockpitFiltersTest method createQuery_when_emptyFilters_then_retrieve_nothing.
@Test
public void createQuery_when_emptyFilters_then_retrieve_nothing() {
final I_X_MRP_ProductInfo_Detail_MV record = newInstance(I_X_MRP_ProductInfo_Detail_MV.class);
save(record);
final IQuery<I_MD_Cockpit> query = new MaterialCockpitFilters().createQuery(ImmutableList.of());
assertThat(query).isNotNull();
assertThat(query.list()).isEmpty();
}
Aggregations