mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2026-10-07 06:56:58 +00:00
added getLatestInclusion (#14)
* added getLatestInclusion * added findTransactionObjects * added documentation
This commit is contained in:
committed by
Gianluigi Davassi
parent
9af3d2d027
commit
3a3f7f6a59
@@ -169,4 +169,15 @@ public class IotaAPIProxyTest {
|
||||
public void shouldSendTrytes() {
|
||||
proxy.sendTrytes(TEST_TRYTES, 18);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldGetLastInclusionState() {
|
||||
GetInclusionStateResponse res = proxy.getLatestInclusion(new String[]{TEST_HASH});
|
||||
assertThat(res.getStates(), IsNull.notNullValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldFindTransactionObjects() {
|
||||
assertThat(proxy.findTransactionObjects(new String[]{TEST_ADDRESS_WITH_CHECKSUM}), IsNull.notNullValue());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user