How to Write Unit test for IntelliJ IDEA Plugin code?

How to Write Unit test for IntelliJ IDEA Plugin code?
Can I get any samples  in java?

Please sign in to leave a comment.