function it_is_last_if_preset_token_is_last($token) { $token->isLast()->willReturn(true); $this->shouldBeLast(); }