/** * Method setUp. * * @throws Exception */ protected void setUp() throws Exception { try { TradeAppLoadConfig.loadAppProperties(); this.tradestrategy = TradestrategyTest.getTestTradestrategy(symbol); TestCase.assertNotNull(this.tradestrategy); } catch (Exception e) { TestCase.fail("Error on setup " + e.getMessage()); } }
/** * Method tearDown. * * @throws Exception */ protected void tearDown() throws Exception { TradestrategyTest.clearDBData(); }