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

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

    function it_should_remove_a_value_when_calling_the_magical_remove()
    {
        $this->removeLastName('Sikorra');
        $this->getLastName()->shouldBeEqualTo('');
        $this->addEmailAddress('[email protected]');
        $this->getEmailAddress()->shouldBeArray();
        $this->getEmailAddress()->shouldContain('[email protected]');
        $this->removeEmailAddress('[email protected]');
        $this->getEmailAddress()->shouldNotContain('[email protected]');
    }
LdapObjectSpec