I'd like to be able to type test in a class file and then press tab and have that expand to:
@Test
public void whenThen() {
}
And also include appropriate imports. This includes import static junit.framework.Assert.*;.
How do I do this? I'm using Intellij 12