Package de.hybris.platform.product
Class UnitServiceTest
- java.lang.Object
-
- de.hybris.platform.product.UnitServiceTest
-
@UnitTest public class UnitServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UnitServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testReturnsAllUnits()
void
testReturnsAllUnitTypes()
void
testReturnsUnitForCode()
void
testReturnsUnitsForUnitType()
void
testThrowsAmbiguousIdentifierExceptionWhenMoreThanOneUnitFoundForGivenCode()
void
testThrowsIllegalArgumentExceptionWhenCodeIsNull()
void
testThrowsUnknownIdentifierExceptionWhenUnitNotFound()
-
-
-
Method Detail
-
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()
-
-