public void Sites_Can_Clear_All() { // Arrange var productFamilyCount = Chargify.GetProductFamilyList().Count; var productCount = Chargify.GetProductList().Count; var subscriptionCount = Chargify.GetSubscriptionList().Count; var customerCount = Chargify.GetCustomerList().Count; // Act var result = Chargify.ClearTestSite(SiteCleanupScope.All); var newProductFamilyCount = Chargify.GetProductFamilyList().Count; var newProductCount = Chargify.GetProductList().Count; var newSubscriptionCount = Chargify.GetSubscriptionList().Count; var newCustomerCount = Chargify.GetCustomerList().Count; // Assert //Assert.IsInstanceOfType(result, typeof(bool)); Assert.IsTrue(result); Assert.AreNotEqual(productFamilyCount, newProductFamilyCount); Assert.AreNotEqual(productCount, newProductCount); Assert.AreNotEqual(subscriptionCount, newSubscriptionCount); Assert.AreNotEqual(customerCount, newCustomerCount); Assert.AreEqual(0, newProductFamilyCount); Assert.AreEqual(0, newProductCount); Assert.AreEqual(0, newSubscriptionCount); Assert.AreEqual(0, newCustomerCount); }