Class UnitServiceTest


  • @UnitTest
    public class UnitServiceTest
    extends java.lang.Object
    • Constructor Detail

      • UnitServiceTest

        public UnitServiceTest()
    • 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()