From ba3dd71750973b66a7ad5722b65592813454dc0f Mon Sep 17 00:00:00 2001 From: pinpong Date: Fri, 30 Dec 2016 10:03:51 +0100 Subject: [PATCH] updated tests --- src/test/java/jota/IotaAPIProxyTest.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/test/java/jota/IotaAPIProxyTest.java b/src/test/java/jota/IotaAPIProxyTest.java index 8f34f1c..9dab078 100644 --- a/src/test/java/jota/IotaAPIProxyTest.java +++ b/src/test/java/jota/IotaAPIProxyTest.java @@ -205,9 +205,11 @@ public class IotaAPIProxyTest { } @Test - public void shouldGetTrasfers() throws InvalidBundleException, ArgumentException, InvalidSignatureException { - GetTransferResponse gtr = proxy.getTransfers(TEST_SEED1, 0, 0, true); - assertThat(gtr, IsNull.notNullValue()); - assertThat(proxy.getTransfers(TEST_SEED2, 0, 0, false), IsNull.notNullValue()); + public void shouldGetTransfers() throws InvalidBundleException, ArgumentException, InvalidSignatureException { + GetTransferResponse gtr = proxy.getTransfers(TEST_SEED1, 0, 0, false); + assertThat(gtr.getTransfers(), IsNull.notNullValue()); + + GetTransferResponse gtr2 = proxy.getTransfers(TEST_SEED1, 0, 0, true); + assertThat(gtr2.getTransfers(), IsNull.notNullValue()); } } \ No newline at end of file