public async Task Get_Account_Filter_By_Mosaic()
        {
            using (var httpTest = new HttpTest())
            {
                var fakeJson =
                    TestHelper.LoadJsonFileToObject(@"Testdata\\Account\\GetAccountPropertyByMosaic.json");

                httpTest.RespondWithJson(fakeJson);

                var address = Address.CreateFromHex("9031C36EC5207123E20D7FEE91B73284B9B8EC354ADA948147");

                var accountFilter = await _accountHttp.GetAccountProperty(address);

                var allowMosaicFilter =
                    accountFilter.AccountProperties.Properties.Single(ap =>
                                                                      ap.PropertyType == PropertyType.ALLOW_MOSAIC);
                allowMosaicFilter.Should().NotBeNull();

                foreach (var bm in allowMosaicFilter.Values)
                {
                    var arrayIds = JsonConvert.DeserializeObject <List <uint> >(bm.ToString());
                    var mosaicId = new MosaicId(arrayIds.FromUInt8Array());
                    mosaicId.Should().NotBeNull();
                }

                var expectedMosaicId = new MosaicId("0DC67FBE1CAD29E3");
                var allowMosaic      = allowMosaicFilter.Values
                                       .Single(a =>
                {
                    var m = JsonConvert.DeserializeObject <UInt64DTO>(a.ToString());
                    return((new MosaicId(m.ToUInt64())).HexId == expectedMosaicId.HexId);
                });
                allowMosaic.Should().NotBeNull();
            }
        }
        public async Task Get_Account_Filter_By_Mosaic()
        {
            using (var httpTest = new HttpTest())
            {
                var fakeJson =
                    TestHelper.LoadJsonFileToObject(@"Testdata\\Account\\GetAccountPropertyByMosaic.json");

                httpTest.RespondWithJson(fakeJson);

                var address = Address.CreateFromRawAddress("VCRUM4I6M4DDYE3O3LILVIRUAJIGXMVWP3YRIVQC");

                var accountFilter = await _accountHttp.GetAccountProperty(address);

                var allowMosaicFilter =
                    accountFilter.AccountProperties.Properties.Single(ap =>
                                                                      ap.PropertyType == PropertyType.ALLOW_MOSAIC);
                allowMosaicFilter.Should().NotBeNull();

                foreach (var bm in allowMosaicFilter.Values)
                {
                    var arrayIds = JsonConvert.DeserializeObject <List <uint> >(bm.ToString());
                    var mosaicId = new MosaicId(arrayIds.FromUInt8Array());
                    mosaicId.Should().NotBeNull();
                }

                var expectedMosaicId = new MosaicId("64D53F46233BA3A0");
                var allowMosaic      = allowMosaicFilter.Values.Single(a =>
                {
                    var m = JsonConvert.DeserializeObject <UInt64DTO>(a.ToString());
                    return((new MosaicId(m.ToUInt64())).HexId == expectedMosaicId.HexId);
                });
                allowMosaic.Should().NotBeNull();
            }
        }