public void Can_call_add_item_passing_timespan()
        {
            Expect.Call(() => _cachePlugin.Add(_key, 1,new TimeSpan(0,0,1)));

            _mockery.ReplayAll();

            _cacheInstance = new Cache(_cachePlugin);
            _cacheInstance.Add(_key, 1, new TimeSpan(0, 0, 1));

            _mockery.VerifyAll();
        }
        public void Can_call_add_item()
        {
            Expect.Call(()=> _cachePlugin.Add(_key,1));

            _mockery.ReplayAll();

            _cacheInstance = new Cache(_cachePlugin);
            _cacheInstance.Add(_key, 1);

            _mockery.VerifyAll();
        }