Search in sources :

Example 1 with CurrencyService

use of com.qcadoo.mes.basic.util.CurrencyService in project mes by qcadoo.

the class CurrencyServiceTest method init.

@Before
public final void init() {
    MockitoAnnotations.initMocks(this);
    currencyService = new CurrencyService();
    ReflectionTestUtils.setField(currencyService, "parameterService", parameterService);
    given(parameterService.getParameter()).willReturn(parameter);
}
Also used : CurrencyService(com.qcadoo.mes.basic.util.CurrencyService) Before(org.junit.Before)

Aggregations

CurrencyService (com.qcadoo.mes.basic.util.CurrencyService)1 Before (org.junit.Before)1