octet_length::[ { name:"OCTET_LENGTH empty string", statement:"OCTET_LENGTH('')", assert:{ result:EvaluationSuccess, evalMode:[ EvalModeCoerce, EvalModeError ], output:0 } }, { name:"OCTET_LENGTH string", statement:"OCTET_LENGTH('abc')", assert:{ result:EvaluationSuccess, evalMode:[ EvalModeCoerce, EvalModeError ], output:3 } }, { name:"OCTET_LENGTH NULL", statement:"OCTET_LENGTH(NULL)", assert:{ result:EvaluationSuccess, evalMode:[ EvalModeCoerce, EvalModeError ], output:null } }, { name:"OCTET_LENGTH MISSING", statement:"OCTET_LENGTH(MISSING)", assert:{ result:EvaluationSuccess, evalMode:[ EvalModeCoerce, EvalModeError ], output:$missing::null } }, { name:"OCTET_LENGTH invalid type", statement:"OCTET_LENGTH(1)", assert:[ { evalMode:EvalModeError, result:EvaluationFail }, { result:EvaluationSuccess, evalMode:EvalModeCoerce, output:$missing::null } ], }, { name:"OCTET_LENGTH special character", statement:"OCTET_LENGTH('français')", assert:{ result:EvaluationSuccess, evalMode:[ EvalModeCoerce, EvalModeError ], output:9 } }, ]