public void GetMetaDataMembers_RetrievesSameMembers_AsResolveSimpleTableInfo() { var simpleTableInfo = new ResolvedSimpleTableInfo(typeof(DataContextTestClass.Region), "dbo.Region", "t0"); MetaDataMember[] metaDataMembers = _mappingResolver.GetMetaDataMembers(simpleTableInfo.ItemType); var actualColumnNames = metaDataMembers.Select(m => m.MappedName).ToArray(); var expectedMatchingEntity = _mappingResolver.ResolveSimpleTableInfo(simpleTableInfo, _generator); var expectedColumnNames = expectedMatchingEntity.Columns.Select(c => c.ColumnName).ToArray(); Assert.That(actualColumnNames, Is.EqualTo(expectedColumnNames)); }