public async Task TestPricingGlobalJson() { sms77_library.Api.Library.Pricing pricing = await BaseTest.Client.Pricing(new PricingParams { Format = "json" }); Assert.That(pricing, Is.InstanceOf(typeof(sms77_library.Api.Library.Pricing))); Assert.That(pricing.CountCountries, Is.Positive); }
public async Task TestPricingGermanyJson() { sms77_library.Api.Library.Pricing pricing = await BaseTest.Client.Pricing( new PricingParams { Country = "de", Format = "json" }); Assert.That(pricing, Is.InstanceOf(typeof(sms77_library.Api.Library.Pricing))); Assert.That(pricing.CountCountries, Is.EqualTo(1)); }