Package de.hybris.platform.product
Class UnitServiceTest
java.lang.Object
de.hybris.platform.product.UnitServiceTest
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UnitServiceTest
public UnitServiceTest()
-
-
Method Details
-
setUp
public void setUp() -
testReturnsAllUnits
public void testReturnsAllUnits() -
testReturnsUnitsForUnitType
public void testReturnsUnitsForUnitType() -
testReturnsAllUnitTypes
public void testReturnsAllUnitTypes() -
testReturnsUnitForCode
public void testReturnsUnitForCode() -
testThrowsIllegalArgumentExceptionWhenCodeIsNull
public void testThrowsIllegalArgumentExceptionWhenCodeIsNull() -
testThrowsUnknownIdentifierExceptionWhenUnitNotFound
public void testThrowsUnknownIdentifierExceptionWhenUnitNotFound() -
testThrowsAmbiguousIdentifierExceptionWhenMoreThanOneUnitFoundForGivenCode
public void testThrowsAmbiguousIdentifierExceptionWhenMoreThanOneUnitFoundForGivenCode()
-