What role does the infinitive phrase play in this sentence?
I am happy to finish my test.
O
adverb
direct object
adjective