/** * Tears down the fixture, for example, close a network connection. This method is called after a * test is executed. */ protected void tearDown() throws Exception { savedSystemProperty.restore(); super.tearDown(); }
/** * Sets up the fixture, for example, open a network connection. This method is called before a * test is executed. */ protected void setUp() throws Exception { super.setUp(); savedSystemProperty.save(); System.setProperty(SystemProperty.NAME_CACHEONIX_AUTO_CREATE_CACHE, "false"); }