public void To_Media_Item_Simple() { Media content = _mediaBuilder .AddMediaType() .AddPropertyGroup() .AddPropertyType() .Done() .Done() .Done() .WithCreatorId(Constants.Security.SuperUserId) .Build(); ContentItemBasic <ContentPropertyBasic> result = _sut.Map <IMedia, ContentItemBasic <ContentPropertyBasic> >(content); AssertBasics(result, content); foreach (IProperty p in content.Properties) { AssertBasicProperty(result, p); } }