Exemple #1
0
        public void ThenThePersonWasFound(Table table)
        {
            PersonItem actual   = _persons.FirstOrDefault(x => x.FirstName.StartsWith(_firstLetter));
            var        expected = table.CreateInstance <PersonItem>();

            Assert.Equal(actual, expected);
        }
Exemple #2
0
 private bool Equals(PersonItem other)
 {
     return(string.Equals(FirstName, other.FirstName) && string.Equals(LastName, other.LastName));
 }
 private bool Equals(PersonItem other)
 {
     return string.Equals(FirstName, other.FirstName) && string.Equals(LastName, other.LastName);
 }