@After public void tearDown() throws Exception { mockBuyerContext = null; mockPurchaseBooksInterceptor = null; fixture = null; super.tearDown(); }
@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(); }