/**
  * Method setUp.
  *
  * @throws java.lang.Exception
  */
 @Before
 public void setUp() throws Exception {
   TradeAppLoadConfig.loadAppProperties();
   tradePositionHome = new TradePositionHome();
   aspectHome = new AspectHome();
   this.tradestrategy = TradestrategyTest.getTestTradestrategy(symbol);
   assertNotNull(this.tradestrategy);
 }
 /**
  * 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 setUp.
  *
  * @throws java.lang.Exception
  */
 @Before
 public void setUp() throws Exception {
   TradeAppLoadConfig.loadAppProperties();
   clientId = ConfigProperties.getPropAsInt("trade.tws.clientId");
   tradeOrderHome = new TradeOrderHome();
   this.tradePersistentModel =
       (PersistentModel)
           ClassFactory.getServiceForInterface(PersistentModel._persistentModel, this);
   this.tradestrategy = TradestrategyTest.getTestTradestrategy(symbol);
   assertNotNull(this.tradestrategy);
 }