Skip to content

Instantly share code, notes, and snippets.

@jon-ruckwood
Last active February 1, 2018 09:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jon-ruckwood/17a03bc151f4511f168bf65e9f8ffb26 to your computer and use it in GitHub Desktop.
Save jon-ruckwood/17a03bc151f4511f168bf65e9f8ffb26 to your computer and use it in GitHub Desktop.
Intellij bits and pieces

Live Templates

ee – JUnit ExpectedException rule
@org.junit.Rule
public org.junit.rules.ExpectedException expectedException = org.junit.rules.ExpectedException.none();$CURSOR$
mk – JUnit Mockito rule
@org.junit.Rule
public org.mockito.junit.MockitoRule mockito = org.mockito.junit.MockitoJUnit.rule();$CURSOR$
lg – SLF4J Logger
private static final Logger LOGGER = LoggerFactory.getLogger($CLASS_NAME$.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment