Amount fivePointOneThousand = new Amount(5.1 * 1000, new Currency("EUR"));
Rate atEURUSDRate = new Rate(1.3124, EURUSD);
final Trade expected = new Trade(TradeType.BUY, fivePointOneThousand, atEURUSDRate);
TradeTranslator t = new TradeTranslator();
Trade trade = t.translate(delimitedTrade);
assertThat(trade, equalTo(expected));
}