Class DeliveryModeServiceTest

All Implemented Interfaces:
JaloSessionHolder

@DemoTest public class DeliveryModeServiceTest extends ServicelayerTransactionalTest
  • Constructor Details

    • DeliveryModeServiceTest

      public DeliveryModeServiceTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Creates the core data, and necessary data for delivery modes.
      Throws:
      Exception
    • testGetDeliveryMode

      public void testGetDeliveryMode()
      Tries to search for the delivery mode with code:
      • successful with "courier",
      • caught UnknownIdentifierException with "No_Such_DeliveryMode",
      • found all delivery modes, whose size is 3.
    • testGetSupportedDeliveryModes

      public void testGetSupportedDeliveryModes()
      Tries to search for the supported delivery modes with the payment mode:
      • found payment mode with "creditcard",
      • found all supported delivery modes for this payment mode, which is 5