public void Class_To_String_IEnumerable() { var driver = new InsuredDriver() { EmailAddress = "*****@*****.**", FullName = "Jon Doe" }; var output = driver.ClassToIEnumerable(); //Assert.Equal("", output.) }
public void Class_To_String_Array() { var driver = new InsuredDriver() { EmailAddress = "*****@*****.**", FullName = "Jon Doe" }; var output = driver.PropertiesToStringArray(); Assert.Equal(2, output.Length); }