public BigInteger getHeight() { return getResult(); }
@Test public void testGetWalletHeight() { buildResponse( "{\n" + " \"id\":67,\n" + " \"jsonrpc\":\"2.0\",\n" + " \"result\": 1927636\n" + "}" ); NeoGetWalletHeight getWalletHeight = deserialiseResponse(NeoGetWalletHeight.class); assertThat(getWalletHeight.getHeight(), is(notNullValue())); assertThat(getWalletHeight.getHeight(), is(BigInteger.valueOf(1927636))); }