Testimony can't be compelled but it can still be made.
Used to watch old Perry Mason shows on retro TV so I know all about the law (/sarc)