Is the word "concoction" used in the same way in the following two sentences?

He volunteered to taste her latest concoction.

His testimony was a concoction.
different meanings