@Before public void setUp() throws Exception { mockBuyerContext = new BuyerContext(); mockPurchaseBooksInterceptor = mock(PurchaseBooksInterceptor.class); CheckpointManager.setJAXBSessionCache(getJAXBSessionCache()); CheckpointManager.addConfiguration("bookshop2-buyer-service-checks.xml"); super.setUp(); }
@Before public void setUp() throws Exception { mockSupplierContext = new SupplierContext(); mockReserveBooksHandler = mock(ReserveBooksHandler.class); CheckpointManager.setJAXBSessionCache(getJAXBSessionCache()); CheckpointManager.addConfiguration("bookshop2-supplier-service-checks.xml"); super.setUp(); }
@Before public void setUp() throws Exception { mockEventLoggerContext = new EventLoggerContext(); mockLogEventHandler = mock(LogEventHandler.class); CheckpointManager.setJAXBSessionCache(getJAXBSessionCache()); CheckpointManager.addConfiguration("jee-migration-example-service-checks.xml"); super.setUp(); }