spec\LdapTools\Object\LdapObjectSpec::it_should_be_able_to_clear_the_batch_modifcations_array PHP Метод

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

    function it_should_be_able_to_clear_the_batch_modifcations_array()
    {
        $this->addFirstName('Foo');
        $this->removeLastName('Sikorra');
        $this->reset('emailAddress');
        $this->set('phoneNumber', '555-5555');
        $this->getBatchCollection()->getBatchArray()->shouldHaveCount(4);
        $this->setBatchCollection(new BatchCollection())->getBatchCollection()->getBatchArray()->shouldHaveCount(0);
    }
LdapObjectSpec