public void BadElementNotUuidChild()
        {
            ServiceElement element   = new ServiceElement(ElementType.UInt16, (UInt16)0x1105);
            Type           enumClass = new GiveAccess_SdpClassToAttributeIdList().GetAttributeIdEnumType(element);

            Assert.IsNull(enumClass);
        }
        public void FromElement()
        {
            ServiceElement element   = new ServiceElement(ElementType.Uuid16, (UInt16)0x1105);
            Type           enumClass = new GiveAccess_SdpClassToAttributeIdList().GetAttributeIdEnumType(element);

            Assert.IsNotNull(enumClass);
            Assert.AreEqual("ObexAttributeId", enumClass.Name);
        }
        public void FromUuid_AgHandfree()
        {
            Type enumClass = new GiveAccess_SdpClassToAttributeIdList().GetAttributeIdEnumType(
                BluetoothService.CreateBluetoothUuid(0x111F));

            Assert.IsNotNull(enumClass);
            Assert.AreEqual("HandsFreeProfileAttributeId", enumClass.Name);
        }
        public void FromUuid_Opp()
        {
            Type enumClass = new GiveAccess_SdpClassToAttributeIdList().GetAttributeIdEnumType(
                BluetoothService.CreateBluetoothUuid(0x1105));

            Assert.IsNotNull(enumClass);
            Assert.AreEqual("ObexAttributeId", enumClass.Name);
        }