I'd argue that those are simply two separate questions that both pertain to this particular situation.
In general, however, I don't think that I would want to work for a company that would hold a bias against me due to my participating in presumably honest testimony when a previous employer was brought to court for whatever reason.