コード例 #1
0
        public void TestGetEmployees()
        {
            //Arrange
            int total = 4;

            //Act + Assert
            Assert.That(StudentCRUD.GetStudents(), Has.Count.EqualTo(total)
                        .And.All.Property("Name").Not.Null
                        .And.All.Property("Section").Not.Null);
        }