public void GeneratePersonWithTemplateFirstName() { Person templatePerson = new Person(); templatePerson.firstName = "Heikki"; Person people = testDataGenerator.GenerateRandomPerson(templatePerson); TestHelpper.PrintPersonData(people); Assert.IsTrue(people.firstName == "Heikki"); }
public void GenerateRandomPersonTest() { Person person = testDataGenerator.GenerateRandomPerson(); TestContext.WriteLine("Name : " + person.firstName); Assert.IsTrue(person != null && person.firstName != null); }