コード例 #1
0
        public void CreateTest()
        {
            Student student = new Student("Create1", "Create1", new DateTime(2001, 01, 01));

            manager.Create(student);
            List <Student> students    = manager.Read();
            int            idToCheck   = students.Last().Id;
            Student        testStudent = manager.SelectStudentById(idToCheck);

            Assert.IsNotNull(testStudent);
        }