Search in sources :

Example 1 with AvailableToPromiseRepository

use of de.metas.material.dispo.commons.repository.AvailableToPromiseRepository in project metasfresh-webui-api by metasfresh.

the class AvailableToPromiseAdapterTests method init.

@Before
public void init() {
    AdempiereTestHelper.get().init();
    final AvailableToPromiseRepository stockRepository = new AvailableToPromiseRepository();
    attributesTestHelper = new AttributesTestHelper();
    availableToPromiseAdapter = new AvailableToPromiseAdapter(stockRepository);
}
Also used : AvailableToPromiseRepository(de.metas.material.dispo.commons.repository.AvailableToPromiseRepository) AttributesTestHelper(org.adempiere.mm.attributes.api.impl.AttributesTestHelper) Before(org.junit.Before)

Aggregations

AvailableToPromiseRepository (de.metas.material.dispo.commons.repository.AvailableToPromiseRepository)1 AttributesTestHelper (org.adempiere.mm.attributes.api.impl.AttributesTestHelper)1 Before (org.junit.Before)1