예제 #1
0
        public void number_of_collaborators()
        {
            var collaborators = db.NumberOfCollaborators();

            Assert.IsTrue(collaborators.First(c => c.FirstName == "Andrew" && c.LastName == "Fuller").CollaboratorsCount == 5);
            Assert.IsTrue(collaborators.First(c => c.FirstName == "Steven" && c.LastName == "Buchanan").CollaboratorsCount == 3);
        }