public function testProxyWillCallAddSuccess()
 {
     $testCase = $this->mock('PHPUnit_Framework_TestCase')->stub(array('getNumAssertions' => 1))->get();
     $resultPrinter = $this->niceMock('Concise\\Console\\ResultPrinter\\DefaultResultPrinter')->expect('endTest')->with(PHPUnit_Runner_BaseTestRunner::STATUS_PASSED, $testCase, 0.1)->get();
     $proxy = new ResultPrinterProxy($resultPrinter);
     $proxy->endTest($testCase, 0.1);
 }
 public function testEndTestWillIncrementTestCount()
 {
     $test = $this->mock('PHPUnit_Framework_Test')->get();
     $this->proxy->endTest($test, 0.1);
     $this->assert($this->proxy->getResultPrinter()->getTestCount())->equals(1);
 }