public void DbContext_BuildVersions_should_return_the_correct_version_information() { // Arrange var dbContext = new AdventureWorks.EntityFramework.AdventureWorksLT2008R2Entities(); // Act var buildVersions = dbContext.BuildVersions.ToList(); // Assert Assert.AreEqual(1, buildVersions.Count); Assert.AreEqual("10.00.80404.00", buildVersions[0].Database_Version); Assert.AreEqual(new DateTime(2008, 4, 4), buildVersions[0].ModifiedDate); Assert.AreEqual(1, buildVersions[0].SystemInformationID); Assert.AreEqual(new DateTime(2008, 4, 4), buildVersions[0].VersionDate); }