public void GetPriceTest() { //arrange var service = new NsService(); //act var result = service.GetPrice("ASB", "HGV", 1); //assert Assert.AreNotEqual(955, result.totalPriceInCents); //955 is used as a fake price. Assert it is not that price }
public void BuyDemoTest() { //arrange var service = new NsService(); //act var result = service.BuyDemo(); //assert Assert.IsTrue(result); }