Class TicketFacadeFactoryTest

  • All Implemented Interfaces:
    de.hybris.platform.testframework.JaloSessionHolder

    @IntegrationTest
    public class TicketFacadeFactoryTest
    extends de.hybris.platform.servicelayer.ServicelayerTest
    Test cases for TicketFacadeFactory class.
    • Field Summary

      • Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest

        importService
      • Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test

        jaloSession
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setup()
      Setup.
      void shouldReturnFacadeImplWhenMockIsFalse()
      Should return non-mock facade implantation if mock flag set to false.
      void shouldReturnMockFacadeWhenMockIsTrue()
      Should return a mock facade implantation if mock flag set to true.
      void shouldReturnMockFacadeWhenNoParameterSet()
      Should return a mock facade implantation if mock flag is not set.
      • Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest

        createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
      • Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest

        autowireProperties, getBeanName, prepareApplicationContextAndSession
      • Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test

        establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TicketFacadeFactoryTest

        public TicketFacadeFactoryTest()
    • Method Detail

      • setup

        public void setup()
        Setup.
      • shouldReturnFacadeImplWhenMockIsFalse

        public void shouldReturnFacadeImplWhenMockIsFalse()
                                                   throws java.lang.Exception
        Should return non-mock facade implantation if mock flag set to false.
        Throws:
        java.lang.Exception
      • shouldReturnMockFacadeWhenMockIsTrue

        public void shouldReturnMockFacadeWhenMockIsTrue()
                                                  throws java.lang.Exception
        Should return a mock facade implantation if mock flag set to true.
        Throws:
        java.lang.Exception
      • shouldReturnMockFacadeWhenNoParameterSet

        public void shouldReturnMockFacadeWhenNoParameterSet()
                                                      throws java.lang.Exception
        Should return a mock facade implantation if mock flag is not set.
        Throws:
        java.lang.Exception