function it_throws_CollaboratorException_on_attempt_to_get_unexisting_collaborator() { $this->shouldThrow('PhpSpec\\Exception\\Wrapper\\CollaboratorException')->duringGet('nonexistent'); }