@BeforeMethod(groups = TestGroup.UNIT)
public void setUp() throws Exception {
_uriInfo = new MockUriInfo();
_trades = getTrades();
_secMaster = new InMemorySecurityMaster(new ObjectIdSupplier("Mock"));
_positionMaster = new InMemoryPositionMaster();
final MasterConfigSource configSource = new MasterConfigSource(new InMemoryConfigMaster());
final InMemoryHistoricalTimeSeriesMaster htsMaster = new InMemoryHistoricalTimeSeriesMaster();
final HistoricalTimeSeriesResolver htsResolver = new DefaultHistoricalTimeSeriesResolver(new DefaultHistoricalTimeSeriesSelector(configSource), htsMaster);
_htsSource = new MasterHistoricalTimeSeriesSource(htsMaster, htsResolver);
_securitySource = new InMemorySecuritySource();