Class HybrisContextFactoryTest


  • @UnitTest
    @ContextConfiguration("classpath:test/dummy-test-spring.xml")
    public class HybrisContextFactoryTest
    extends java.lang.Object
    • Constructor Detail

      • HybrisContextFactoryTest

        public HybrisContextFactoryTest()
    • Method Detail

      • inject

        public void inject()
      • applicationContextShouldHaveOnlyProfileNamedFromTenantIDIfThereAreNotProfilesConfiguredGlobally

        public void applicationContextShouldHaveOnlyProfileNamedFromTenantIDIfThereAreNotProfilesConfiguredGlobally()
                                                                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • applicationContextShouldHaveAnyConfiguredGloballyProfilePlusProfileNamedFromTenantID

        public void applicationContextShouldHaveAnyConfiguredGloballyProfilePlusProfileNamedFromTenantID()
                                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • applicationContextShouldReturnBeanConfiguredInTenantAwareProfile

        public void applicationContextShouldReturnBeanConfiguredInTenantAwareProfile()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • globalApplicationContextShouldReturnBeanConfiguredInPredefinedInPropertiesProfile

        public void globalApplicationContextShouldReturnBeanConfiguredInPredefinedInPropertiesProfile()
                                                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testHasAGlobalBean

        public void testHasAGlobalBean()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplicationContextHasGlobalContextAsAParent

        public void testApplicationContextHasGlobalContextAsAParent()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testHasALocallBean

        public void testHasALocallBean()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAssureHasAGlobalBean

        public void testAssureHasAGlobalBean()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAssureComponentScanIgnoresTenantAnnotation

        public void testAssureComponentScanIgnoresTenantAnnotation()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception