use of de.metas.ui.web.handlingunits.HUEditorViewRepository in project metasfresh-webui-api by metasfresh.
the class PickingHUsRepositoryTests method test_retrieveSourceHUs_empty_shipmentScheduleIds.
@Test
public void test_retrieveSourceHUs_empty_shipmentScheduleIds() {
final HUEditorViewRepository huEditorViewRepository = new MockedHUEditorViewRepository();
final PickingHURowsRepository pickingHUsRepository = new PickingHURowsRepository(huEditorViewRepository);
final List<HUEditorRow> sourceHUs = pickingHUsRepository.retrieveSourceHUs(PickingSlotRepoQuery.builder().build());
assertThat(sourceHUs).isEmpty();
}
Aggregations