Skip to content

Instantly share code, notes, and snippets.

@coderunner
Created September 12, 2011 00:18
Show Gist options
  • Select an option

  • Save coderunner/1210348 to your computer and use it in GitHub Desktop.

Select an option

Save coderunner/1210348 to your computer and use it in GitHub Desktop.

Revisions

  1. coderunner revised this gist Sep 12, 2011. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.java
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    @Test
    //This can be tested in the abstract class,
    //but the child classes will cover it.
    public void shouldFormatAndLog()
    {
    logger.log(LEVEL, MESSAGE);
  2. coderunner created this gist Sep 12, 2011.
    6 changes: 6 additions & 0 deletions gistfile1.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    @Test
    public void shouldFormatAndLog()
    {
    logger.log(LEVEL, MESSAGE);
    verify(logger).log(FORMATTED_LOG);
    }