function it_decrements_stat_by_N(RedisClientInterface $redis) { $redis->decrby('stat:decrx', 11)->shouldBeCalled()->willReturn(true); $this->decrement('decrx', 11)->shouldReturn(true); }