Skip to Content
0
Former Member
Sep 16, 2015 at 12:55 PM

OrderPopulatorTest in commercefacades fails

139 Views

we are working with Hybris 5.6 and now some unittests of commercefacades fail:

OrderPopulatorTest OrderHistoryPopulatorTest

with org.mockito.exceptions.base.MockitoException: Cannot mock/spy class de.hybris.platform.core.enums.OrderStatus Mockito cannot mock/spy following: - final classes - anonymous classes - primitive types at de.hybris.platform.commercefacades.order.converters.populator.OrderPopulatorTest.testConvert(OrderPopulatorTest.java:121)

I'm not sure if this an issue of Hybris 5.6 or it was there before. Anyway, we wan't to run all unittests on the Jenkins.. Any ideas/shelp on that?