[TestMethod()]//Check if the method returns a list of HelpLinks. public void GetLinkListTestToCheckIfItReturnsListOfHelpLinks() { //Arrange var accinfo = AvaTaxProfileAssistantHelper.InsertAccountInfo(input.AccountCredentials); //Act var actualresult = AvaTaxProfileAssistantHelper.GetLinkList(accinfo.ID); List <HelpLink> expectedresult = new List <HelpLink>(); //Assert Assert.AreEqual(expectedresult.GetType(), actualresult.GetType(), "The method failed to return a list of helplinks!!"); Assert.IsNotNull(actualresult, "The list does not contain any records!!"); }