Пример #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);
        }
Пример #2
0
 private bool Equals(PersonItem other)
 {
     return(string.Equals(FirstName, other.FirstName) && string.Equals(LastName, other.LastName));
 }
Пример #3
0
 private bool Equals(PersonItem other)
 {
     return string.Equals(FirstName, other.FirstName) && string.Equals(LastName, other.LastName);
 }