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

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

    function it_should_remove_an_attribute_completely_when_calling_reset()
    {
        $this->reset('firstName');
        $this->has('firstName')->shouldBeEqualTo(false);
        $this->reset('lastName', 'emailAddress');
        $this->has('lastName')->shouldBeEqualTo(false);
        $this->has('emailAddress')->shouldBeEqualTo(false);
    }
LdapObjectSpec