public void BuyerLoginTest() { bool loginResult = false; Buyer buyer = new Buyer(); buyer.buyerEmployeeID = "buyer01"; buyer.buyerPassword = "******"; var buyerResult = buyer.GetBuyers(buyer.buyerEmployeeID, buyer.buyerPassword); if (buyerResult[0].employeeType == "BUYER") { loginResult = true; } else { loginResult = false; } Assert.AreEqual(true, loginResult); }