@${testType:newType(org.junit.Test)} public void should${testname}() { ${staticImport:importStatic('org.mockito.BDDMockito.*', 'org.mockito.Matchers.*', 'org.mockito.Mockito.*', 'org.junit.Assert.*')}// given // when ${cursor} // then }
The result is astonishing ;)
import static org.mockito.BDDMockito.*; import static org.mockito.Matchers.*; import static org.mockito.Mockito.*; import static org.junit.Assert.*; (...) @Test public void shouldTestSomething() { // given // when CURSOR_LANDS_HERE // then }
No comments:
Post a Comment