spec\LdapTools\Ldif\Entry\LdifEntryModRdnSpec::it_should_be_able_to_be_contructed_with_dn_changes PHP Метод

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

    function it_should_be_able_to_be_contructed_with_dn_changes()
    {
        $newRdn = 'cn=foobar';
        $newLocation = 'ou=foo,dc=foo,dc=bar';
        $deleteOldRdn = false;
        $this->beConstructedWith('dc=foo,dc=bar', $newLocation, $newRdn, $deleteOldRdn);
        $this->getNewLocation()->shouldBeEqualTo($newLocation);
        $this->getNewRdn()->shouldBeEqualTo($newRdn);
        $this->getDeleteOldRdn()->shouldBeEqualTo($deleteOldRdn);
    }