public void ConvertModelToCsv_NullList_Fail() { //Arrange List <Person> peopleList = new List <Person>(); //Act var convList = FakeDataAccess.ConvertModelToCsv(peopleList); //Assert Assert.NotNull(convList); }
public void ConvertModelToCsv_Pass() { //Arrange List <Person> peopleList = new List <Person>(); peopleList.Add(new Person { FirstName = "Test", LastName = "Person", Email = "*****@*****.**", Balance = 150 }); //Act var convList = FakeDataAccess.ConvertModelToCsv(peopleList); //Assert Assert.NotNull(peopleList); }