Created
August 28, 2014 13:27
-
-
Save niftydevelopment/194d863ab65cad890b45 to your computer and use it in GitHub Desktop.
TDD: setup test method boilerplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Test | |
| @BeforeMethod | |
| public void setup() { | |
| MockitoAnnotations.initMocks(this); | |
| ${staticImport:importStatic('org.testng.Assert.*')} | |
| ${imp:import(org.testng.annotations.BeforeMethod,org.testng.annotations.Test,org.mockito.Mockito,org.mockito.MockitoAnnotations)} | |
| ${cursor} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment