Ejemplo n.º 1
0
        public void SecondIsPersonInPeopleListTest()
        {
            string          firstName       = "kasper";
            string          lastName        = "cisewski";
            var             expected        = false;
            PersonValidator personValidator = new PersonValidator();
            List <Person>   peopleList      = new List <Person>
            {
                new Person(0, "tomek", "baranski"),
                new Person(1, "Marcin", "czapiewski")
            };
            var actual = personValidator.IsPersonInList(firstName, lastName, peopleList);

            Assert.AreEqual(expected, actual);
        }