I'm trying to make a Live template to help me write jUnit test cases.
Most of my test cases are of the form:
I've tried pretty extensively to make a template for this. My current best attempt looks like:
And I have my variables set up as:
This doesn't do what I want really though, because the rightSideType() call is just blank. If I try to put a default of "Object" for the TYPE variable, IntelliJ throws a NullPointerException. Any ideas how to fix this? It would sure make my day.