public void SetPathKey() { GetRequestBuilder <int, Greeting> b = new GetRequestBuilder <int, Greeting>(baseUrl); Tone tone = new Tone(Tone.Symbol.FRIENDLY); b.SetPathKey("key1", "keyValue1"); b.SetPathKey("key2", 123); b.SetPathKey("key3", tone); Assert.AreEqual("keyValue1", b.GetPathKey("key1")); Assert.AreEqual(123, b.GetPathKey("key2")); Assert.AreEqual(tone.symbol, ((Tone)b.GetPathKey("key3")).symbol); }