Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

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

Revisions

  1. coderunner created this gist Sep 12, 2011.
    7 changes: 7 additions & 0 deletions gistfile1.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    @Test
    public void shouldIncrementLogCounter()
    {
    assertEquals(0, logger.getLogCount());
    logger.log(LEVEL, MESSAGE);
    assertEquals(1, logger.getLogCount());
    }