Esempio n. 1
0
        public void ShouldGetBundle()
        {
            var iotaApi = new IotaAPI
            {
                IotaClient = new IotaClient(Provider)
            };

            GetBundleResponse gbr = iotaApi.GetBundle(TEST_HASH);

            Assert.IsNotNull(gbr, "GetBundleResponse should not return null on failure");
        }
Esempio n. 2
0
 public void ShouldNotGetBundle()
 {
     Assert.ThrowsException <ArgumentException>(() => { _iotaApi.GetBundle("SADASD"); });
 }