public void TryGetPrefixWithoutType()
        {
            IKeyToParametersConverter converter = CreateConverter();

            IKeyValueCollection parameters = new KeyValueCollection()
                                             .Add("SourceID", 5)
                                             .Add("TargetID", 6);

            Assert.AreEqual(true, converter.TryGetWithoutType(parameters, "Product", "Source", out Int32Key sourceKey));
            Assert.AreEqual(5, sourceKey.ID);
            Assert.AreEqual("Product", sourceKey.Type);
            Assert.AreEqual(true, converter.TryGetWithoutType(parameters, "Category", "Target", out Int32Key targetKey));
            Assert.AreEqual(6, targetKey.ID);
            Assert.AreEqual("Category", targetKey.Type);
        }
        public void TryGetWithoutType()
        {
            IKeyToParametersConverter converter = CreateConverter();

            IKeyValueCollection parameters = new KeyValueCollection()
                                             .Add("ID", 5);

            Assert.AreEqual(true, converter.TryGetWithoutType(parameters, "Product", out Int32Key int32Key));
            Assert.AreEqual(5, int32Key.ID);
            Assert.AreEqual("Product", int32Key.Type);
        }