function it_increments_stat_by_N(RedisClientInterface $redis) { $redis->incrby('stat:incr', 12)->shouldBeCalled()->willReturn(true); $this->increment('incr', 12)->shouldReturn(true); }