public function testAddRiskyWillIncrementCount()
 {
     $this->proxy->addRiskyTest($this->test, $this->e, 0);
     $this->assert($this->proxy->getResultPrinter()->getRiskyCount())->equals(1);
 }
 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 testWriteWillPrintCodeCoverage()
 {
     $this->expectOutputString('foo Code Coverage Report bar');
     $this->proxy->write('foo Code Coverage Report bar');
 }