when(tradingService.updateAccountProfile(any(Accountprofile.class), any(String.class))).thenReturn(accountProfile());
when(tradingService.findOrder(eq(999), eq(ACCOUNT_ID))).thenReturn(order());
when(tradingService.saveOrder(any(Order.class))).thenReturn(null);
when(tradingService.saveAccountProfile(any(Accountprofile.class))).thenReturn(accountProfile());
when(tradingService.updateOrder(any(Order.class))).thenReturn(null);
when(tradingService.findOrdersByStatus(eq(ACCOUNT_ID), any(String.class), any(Integer.class), any(Integer.class))).thenReturn(orders());
when(tradingService.findOrders(eq(ACCOUNT_ID), any(Integer.class), any(Integer.class))).thenReturn(orders());
when(tradingService.findQuoteBySymbol(eq(SYMBOL))).thenReturn(quote());
when(tradingService.findRandomQuotes(RANDOM_QUOTES_COUNT)).thenReturn(quotes());
when(tradingService.findQuotesBySymbols(anySetOf(String.class))).thenReturn(quotes());
when(tradingService.findAccount(eq(ACCOUNT_ID))).thenReturn(account());