Skip to content

Instantly share code, notes, and snippets.

@DariusL
Created December 17, 2015 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DariusL/14b9b54de671f2effefd to your computer and use it in GitHub Desktop.
Save DariusL/14b9b54de671f2effefd to your computer and use it in GitHub Desktop.
JUnit4 test class template
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.Test;
import org.mockito.Mock;
import static org.mockito.Mockito.*;
import static org.mockito.Matchers.*;
import org.hamcrest.CoreMatchers;
#parse("File Header.java")
public class ${NAME} {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment