public function it_can_check_if_an_id_is_consuming() { $this->adapter->sIsMember('test:test:consuming', 'test')->shouldBeCalled()->willReturn(true); $this->isIdConsuming('test', 'test')->shouldReturn(true); }