public void Can_build_identity_model() { using (var context = CreateContext()) { var entityTypeMappings = context.Model.GetEntityTypes().Select(e => new EntityTypeMapping(e)).ToList(); EntityTypeMapping.AssertEqual(ExpectedMappings, entityTypeMappings); } }