@Test
public void orderEvent() {

	JSONObject jsonPayLoad = mock(JSONObject.class);
	OrderEventPayLoad payLoad = new OrderEventPayLoad(OrderEvents.ORDER_FILLED, jsonPayLoad);
	when(jsonPayLoad.get(OandaJsonKeys.accountId)).thenReturn(OandaTestConstants.accountId);
	@SuppressWarnings("unchecked")
	TradeInfoService<Long, String, Long> tradeInfoService = mock(TradeInfoService.class);
	OrderFilledEventHandler eventHandler = new OrderFilledEventHandler(tradeInfoService);
	eventHandler.handleEvent(payLoad);
	verify(tradeInfoService, times(1)).refreshTradesForAccount(OandaTestConstants.accountId);
}