public void A010_SaveNewTest() { regionsRepository.SaveAndFlush(Region1); Region regionCheck = regionsRepository.GetById(Region1.PrimaryKey); Assert.IsNotNull(regionCheck); Assert.AreEqual(Region1.PrimaryKey, regionCheck.PrimaryKey); Assert.AreEqual(Region1.Description, regionCheck.Description); }