Пример #1
0
        public void Test_Update_UpdatesInDb()
        {
            Student testStudent = new Student("Steve");

            testStudent.Save();
            testStudent.Update("Martin");

            Student newStudent = new Student("Martin", testStudent.GetId());

            Assert.Equal(testStudent, newStudent);
        }