public class BTCETradeDataJSONTest {
@Test
public void testOpenOrders() throws IOException {
BTCEOpenOrdersReturn result = getResult("/v3/trade/example-open-orders-data.json", BTCEOpenOrdersReturn.class);
// Verify that the example data was unmarshalled correctly
Map<Long, BTCEOrder> rv = result.getReturnValue();
assertThat(rv.keySet()).containsAll(Arrays.asList(343152L));
assertThat(rv.get(343152L).getTimestampCreated()).isEqualTo(1342448420L);
}