Class UnitServiceTest

java.lang.Object
de.hybris.platform.product.UnitServiceTest

@UnitTest public class UnitServiceTest extends Object
  • 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()