}};
@Test
public void shouldUpdateThePositionForATradeEvent() throws Exception {
final PortfolioPosition portfolioPosition = context.mock(PortfolioPosition.class);
final MarketEvent tradeEvent = context.mock(MarketEvent.class);
final Trade trade = context.mock(Trade.class);
context.checking(new Expectations(){{
oneOf(tradeEvent).isTradeEvent();