I'm trying to setup intellij idea code template for JUnit4 Test Class
so that when I create the test it will also generate a field variable in the test. Example :
public class FooTest {
private Foo foo;
...
}
The problem I'm having is using the $CLASS_NAME
variable to set the field name with lower camel case.
You can do a toLowerCase() of first character. Sample below for reference.