Class DefaultSapquoteintegrationomsServiceIntegrationTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
com.sap.hybris.sapquoteintegrationoms.service.impl.DefaultSapquoteintegrationomsServiceIntegrationTest
All Implemented Interfaces:
de.hybris.platform.testframework.JaloSessionHolder

@IntegrationTest public class DefaultSapquoteintegrationomsServiceIntegrationTest extends de.hybris.platform.servicelayer.ServicelayerBaseTest
This is an example of how the integration test should look like. ServicelayerBaseTest bootstraps platform so you have an access to all Spring beans as well as database connection. It also ensures proper cleaning out of items created during the test after it finishes. You can inject any Spring service using Resource annotation. Keep in mind that by default it assumes that annotated field name matches the Spring Bean ID.
  • Field Summary

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

    jaloSession
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     

    Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest

    autowireProperties, getApplicationContext, 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 Details

    • DefaultSapquoteintegrationomsServiceIntegrationTest

      public DefaultSapquoteintegrationomsServiceIntegrationTest()
  • Method Details