function it_has_simple_string_representation($token) { $token->__toString()->willReturn('value'); $this->__toString()->shouldBe('not(value)'); }