With Jesus and God, there were no surprises because they communicated with each other about everything. Everything Jesus said, God told him to say, and everything Jesus did was what he saw his Father doing (John 5:19).
No wonder Jesus prayed and spoke with so much authority!