Class DefaultEventpublisherb2bServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- com.sap.hybris.sec.eventpublisher.b2b.service.impl.DefaultEventpublisherb2bServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultEventpublisherb2bServiceIntegrationTest extends 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 usingResource
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 Constructor Description DefaultEventpublisherb2bServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldReturnProperUrlForLogo()
-
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
-
-