public void RemoveTest()
        {
            PromiseCollection <int> collection = GetCollection();

            Assert.IsTrue(collection.Remove("first"));
            Assert.AreEqual(0, collection.Count);
        }
        public void RemovePairTest()
        {
            PromiseCollection <int> collection = GetCollection();

            Assert.IsTrue(collection.Remove(new KeyValuePair <string, IPromise <int> >("first", collection["first"])));
            Assert.AreEqual(0, collection.Count);
        }