public void Z_RemoveCompanyTest() { CompanyService.RemoveCompany(Company); var removedCompany = CompanyService.GetCompanyFromId(Company.Id); Assert.AreEqual(removedCompany.Id, -1); }
public void Y_TestAddedCompany() { var addedCompany = CompanyService.GetCompanyFromId(Company.Id); Assert.AreEqual(addedCompany.Name, Company.Name); }
//[TestCase(1, "Skinix")] //[TestCase(2, "Demizz")] //[TestCase(3, "Snaptags")] //[TestCase(4, "Yodo")] public void GetCompanyFromIdTest(int id, string result) { var company = CompanyService.GetCompanyFromId(id); Assert.AreEqual(company.Name, result); }