First go to Java -> Editor -> Templates
Click on New then enter this into the text box:
${:import(org.mockito.runners.MockitoJUnitRunner, org.junit.runner.RunWith)}
@RunWith(MockitoJUnitRunner.class)
And here are some more awesomely useful templates.
No comments:
Post a Comment