public void ShouldUpdatenData()
        {
            var db = new TestDbContext();

            var data = db.SomeTestData.FirstOrDefault(x => x.MyTest == "Foo");
            data.MyTest = "FooBar";
            db.SomeTestData.SaveChanges();

            var changed = db.SomeTestData.FirstOrDefault(x => x.MyTest == "FooBar");

            Assert.AreEqual("FooBar", changed.MyTest);
        }
 public void ShouldReturnData()
 {
     var db = new TestDbContext();
     var data = db.SomeTestData.FirstOrDefault(x => x.MyTest == "Foo");
     Assert.AreNotEqual(null, data);
 }
 public void ShouldInitWithoutExistingData()
 {
     var db = new TestDbContext();
     Assert.AreEqual(0, db.MoreTestData.Count);
 }