unittest\Output::get_assertion_call_line PHP Method

get_assertion_call_line() public method

Currently this just returns the node at index 3 a more advanced method for determaining the assertion call will need to be developed to account for changes in the flow.
public get_assertion_call_line ( ) : array
return array
    public function get_assertion_call_line()
    {
        $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)[3];
        return sprintf("File: %s%sLine: %s%sFunction: %s", $trace['file'], PHP_EOL, $trace['line'], PHP_EOL, $trace['function']);
    }