}
@Test
public void testPlaceOrder() throws IOException {
BTCEPlaceOrderReturn result = getResult("/v3/trade/example-place-order-data.json", BTCEPlaceOrderReturn.class);
// Verify that the example data was unmarshalled correctly
BTCEPlaceOrderResult rv = result.getReturnValue();
Map<String, BigDecimal> funds = rv.getFunds();
assertThat(funds.keySet().containsAll(Arrays.asList("btc", "nmc", "usd"))).isTrue();
assertThat(funds.get("btc")).isEqualTo(new BigDecimal("2.498"));
assertThat(rv.getOrderId()).isEqualTo(0L);
}