private PromiseCollection <int> GetCollection()
        {
            PromiseCollection <int> collection = new PromiseCollection <int>();

            collection.Add(new KeyValuePair <string, IPromise <int> >("first", new Promise <int>()));
            return(collection);
        }
        public void AddTest()
        {
            PromiseCollection <int> collection = new PromiseCollection <int>();

            collection.Add("first", new Promise <int>());
            Assert.AreEqual(1, collection.Count);
        }