public void TestSecondObtainGetsNewEventIfNoRecycling()
        {
            SettableCacheEvent firstEvent  = SettableCacheEvent.Obtain();
            SettableCacheEvent secondEvent = SettableCacheEvent.Obtain();

            Assert.AreNotEqual(secondEvent.GetHashCode(), firstEvent.GetHashCode());
        }
        public void TestSecondObtainAfterRecyclingGetsRecycledEvent()
        {
            SettableCacheEvent firstEvent = SettableCacheEvent.Obtain();

            firstEvent.Recycle();
            SettableCacheEvent secondEvent = SettableCacheEvent.Obtain();

            Assert.AreEqual(secondEvent.GetHashCode(), firstEvent.GetHashCode());
        }