spec\LdapTools\AttributeConverter\ConvertLockoutTimeSpec::it_should_convert_a_lockoutTime_to_a_DateTime_object_if_the_attribute_is_no_expecting_bool PHP Метод

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

    function it_should_convert_a_lockoutTime_to_a_DateTime_object_if_the_attribute_is_no_expecting_bool()
    {
        $this->setOperationType(AttributeConverterInterface::TYPE_SEARCH_FROM);
        $this->setAttribute('lockedDate');
        $this->fromLdap('0')->shouldBeEqualTo(false);
        $this->fromLdap('130660331300000000')->format('Y-m-d H:i:s')->shouldEqual('2015-01-18 05:38:50');
    }