spec\LdapTools\Object\LdapObjectCreatorSpec::it_should_allow_a_default_container_to_be_overwritten PHP Метод

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

    function it_should_allow_a_default_container_to_be_overwritten($connection)
    {
        $operation = clone $this->addOperation;
        $operation->setDn('cn=somedude,ou=employees,dc=example,dc=local');
        $operation->setLocation('ou=employees,dc=example,dc=local');
        $connection->execute($operation)->willReturn(true);
        $this->createUser()->with(['username' => 'somedude', 'password' => '12345'])->in('ou=employees,dc=example,dc=local')->execute();
    }