### Question:
DMNAssetsDropdownItemsProvider implements KieAssetsDropdownItemsProvider { @Override public void getItems(final Consumer<List<KieAssetsDropdownItem>> assetListConsumer) { client.loadModels(getDMNModelPath(), wrap(assetListConsumer)); } @Inject  DMNAssetsDropdownItemsProvider(final DMNIncludeModelsClient client,
                                          final IncludedModelsPageState pageState,
                                          final IncludedModelsIndex modelsIndex,
                                          final SessionManager sessionManager); @Override void getItems(final Consumer<List<KieAssetsDropdownItem>> assetListConsumer); static final String PATH_METADATA; static final String IMPORT_TYPE_METADATA; static final String DRG_ELEMENT_COUNT_METADATA; static final String ITEM_DEFINITION_COUNT_METADATA; static final String PMML_MODEL_COUNT_METADATA; }### Answer:
@Test public void testGetItems() { final Consumer<List<KieAssetsDropdownItem>> assetListConsumer = (l) -> {}; doReturn(wrappedConsumer).when(itemsProvider).wrap(assetListConsumer); itemsProvider.getItems(assetListConsumer); verify(client).loadModels(eq(path), eq(wrappedConsumer)); }