Exemplo n.º 1
0
        public void DescriptorForAllComparatorKeys()
        {
            var keys = CNContact.GetDescriptorForAllComparatorKeys();

            // while most input for ICNKeyDescriptor are done with NSString
            // the output is opaque and an internal type
            // note: this is not very robust - but I want to know if this changes during the next betas
            Assert.True(keys.Description.StartsWith("<CNAggregateKeyDescriptor:", StringComparison.Ordinal), "type");
            Assert.True(keys.Description.Contains("kind=Formatter style: 1002"), "kind");
        }