/** @test */
 function shouldReturnCountOfWords()
 {
     $file = "testfile.tmp";
     file_put_contents($file, "Keep the bar green to keep the code clean.");
     $counter = WordCounter::fromFile($file);
     //$this->assertEquals(9, $counter->numberOfWords());
     unlink($file);
 }
 /**
  * @ test
  * TODO expect FileNotFoundException
  * TODO expect message IamSureThisDoesNotExist.txt
  */
 function shouldThrowExceptionWithFileNameOnMissingFile()
 {
     WordCounter::fromFile("IamSureThisDoesNotExist.txt");
 }