function it_creates_a_calling_method_on_non_object_exception(Presenter $presenter)
{
$presenter->presentString("{$this->fixture->method}()")->shouldBeCalled()->willReturn("\"{$this->fixture->method}()\"");
$fixtureMessage = "Call to a member function \"{$this->fixture->method}()\" on a non-object.";
$exception = $this->callingMethodOnNonObject($this->fixture->method);
$exception->shouldHaveType('PhpSpec\\Exception\\Wrapper\\SubjectException');
$exception->getMessage()->shouldBe($fixtureMessage);
}