spec\LdapTools\AttributeConverter\ConvertADTimeSpanSpec::it_should_error_when_not_an_instace_of_ADTimeSpan_going_to_ldap PHP Метод

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

    function it_should_error_when_not_an_instace_of_ADTimeSpan_going_to_ldap()
    {
        $this->shouldThrow('\\LdapTools\\Exception\\AttributeConverterException')->duringToLdap('foo');
        $this->shouldThrow('\\LdapTools\\Exception\\AttributeConverterException')->duringToLdap(true);
    }