예제 #1
0
        public void Test_InsertTitle()
        {
            var data     = new EfData();
            var expected = new Title()
            {
                TitleName = "TitleTest", Active = true
            };

            var actual = data.ChangeTitle(expected, System.Data.Entity.EntityState.Added);

            Assert.True(actual);
        }