Class ServicelayerBaseTestLogic


  • public class ServicelayerBaseTestLogic
    extends java.lang.Object
    This class holds common logic used in Servicelayer Base Tests
    • Constructor Detail

      • ServicelayerBaseTestLogic

        public ServicelayerBaseTestLogic()
    • Method Detail

      • prepareApplicationContextAndSession

        public void prepareApplicationContextAndSession​(java.lang.Object test)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • autowireProperties

        protected void autowireProperties​(org.springframework.context.ApplicationContext applicationContext,
                                          java.lang.Object test)
      • getBeanName

        protected java.lang.String getBeanName​(javax.annotation.Resource resource,
                                               java.lang.reflect.Field field)
      • getApplicationContext

        public org.springframework.context.ApplicationContext getApplicationContext()