Search in sources :

Example 1 with HUEditorViewRepository

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();
}
Also used : HUEditorViewRepository(de.metas.ui.web.handlingunits.HUEditorViewRepository) HUEditorRow(de.metas.ui.web.handlingunits.HUEditorRow) PickedHUEditorRow(de.metas.ui.web.picking.pickingslot.PickingHURowsRepository.PickedHUEditorRow) Test(org.junit.Test)

Aggregations

HUEditorRow (de.metas.ui.web.handlingunits.HUEditorRow)1 HUEditorViewRepository (de.metas.ui.web.handlingunits.HUEditorViewRepository)1 PickedHUEditorRow (de.metas.ui.web.picking.pickingslot.PickingHURowsRepository.PickedHUEditorRow)1 Test (org.junit.Test)1