Evaluation of the Hypothesis of Nonlinear Relationship between Finance and Energy Investment