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

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

    function it_should_add_to_the_batch_collection_for_each_action()
    {
        $this->addFirstName('Foo');
        $this->getBatchCollection()->getBatchArray()->shouldHaveCount(1);
        $this->removeLastName('Sikorra');
        $this->getBatchCollection()->getBatchArray()->shouldHaveCount(2);
        $this->reset('emailAddress');
        $this->getBatchCollection()->getBatchArray()->shouldHaveCount(3);
        $this->set('phoneNumber', '555-5555');
        $this->getBatchCollection()->getBatchArray()->shouldHaveCount(4);
    }
LdapObjectSpec