@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); controllerDispatcher.clearAll(); bus.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); eventsListener.reset(); eventBus.start(); eventBus.register(eventsListener); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); cacheControllerDispatcher.clearAll(); bus.start(); bus.register(listener); service.loadConfig(); service.initialize(); service.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); subscriptionTestInitializer.startTestFramework(testListener, clock, busService, subscriptionBaseService); this.catalog = subscriptionTestInitializer.initCatalog(catalogService, internalCallContext); this.accountData = subscriptionTestInitializer.initAccountData(clock); final Account account = createAccount(accountData); final SubscriptionBaseBundle model = subscriptionTestInitializer.initBundle(account.getId(), subscriptionInternalApi, clock, internalCallContext); this.bundle = subscriptionInternalApi.createBundleForAccount(model.getAccountId(), model.getExternalKey(), false, internalCallContext); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); eventsListener.reset(); eventBus.start(); eventBus.register(eventsListener); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); startTestFamework(testListener, clock, busService, subscriptionBaseService, entitlementService); this.catalog = initCatalog(catalogService); configureShiro(); login("EntitlementUser"); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); controllerDispatcher.clearAll(); bus.start(); restartInvoiceService(invoiceService); clock.resetDeltaFromReality(); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); stateMachineConfigCache.clearPaymentStateMachineConfig(PLUGIN_NAME, internalCallContext); stateMachineConfigCache.loadDefaultPaymentStateMachineConfig(PaymentModule.DEFAULT_STATE_MACHINE_PAYMENT_XML); paymentExecutors.initialize(); eventBus.start(); Profiling.resetPerThreadProfilingData(); clock.resetDeltaFromReality(); janitor.initialize(); janitor.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { if (hasFailed()) { return; } super.beforeMethod(); subscriptionTestInitializer.startTestFramework(testListener, clock, busService, subscriptionBaseService); this.catalog = subscriptionTestInitializer.initCatalog(catalogService, internalCallContext); this.accountData = subscriptionTestInitializer.initAccountData(clock); final Account account = createAccount(accountData); final SubscriptionBaseBundle model = subscriptionTestInitializer.initBundle(account.getId(), subscriptionInternalApi, clock, internalCallContext); this.bundle = subscriptionInternalApi.createBundleForAccount(model.getAccountId(), model.getExternalKey(), false, internalCallContext); }