spec\PhpSpec\Runner\CollaboratorManagerSpec::it_provides_a_method_to_check_if_collaborator_exists PHP Метод

it_provides_a_method_to_check_if_collaborator_exists() публичный Метод

    function it_provides_a_method_to_check_if_collaborator_exists($collaborator)
    {
        $this->set('custom_collaborator', $collaborator);
        $this->has('custom_collaborator')->shouldReturn(true);
        $this->has('nonexistent')->shouldReturn(false);
    }