package com.skraylabs.poker;

import static org.junit.Assert.fail;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class ApplicationTest {

  @Before
  public void setUp() throws Exception {}

  @After
  public void tearDown() throws Exception {}

  @Test
  public void test() {
    fail("Not yet implemented");
  }

}

@@ -45,25 +45,144 @@
 org.
-junit.Assert.fail
+hamcrest.CoreMatchers.allOf;%0Aimport static org.hamcrest.CoreMatchers.containsString;%0Aimport static org.hamcrest.MatcherAssert.assertThat
 ;%0A%0Ai
@@ -253,16 +253,83 @@
 .Test;%0A%0A
+import java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0A%0A
 public c
@@ -490,43 +490,548 @@
 test
-() %7B%0A    fail(%22Not yet implemented%22
+ShowUsageForTooFewArguments() %7B%0A    // Set up%0A    ByteArrayOutputStream output = new ByteArrayOutputStream();%0A    PrintStream console = System.out;%0A    try %7B%0A      System.setOut(new PrintStream(output));%0A      String%5B%5D args = %7B%22%22%7D;%0A      // Exercise%0A      Application.main(args);%0A    %7D finally %7B%0A      // Tear down%0A      System.setOut(console);%0A    %7D%0A    // Verify%0A    String outputString = output.toString();%0A    assertThat(outputString, allOf(containsString(%22Too few arguments%22),%0A        containsString(%22Usage: PokerCalculator filepath%22))
 );%0A 

Implement test for too few arguments.