예제 #1
0
 public function testGetRenderer()
 {
     $html = m::mock('bariew\\FineDiff\\Render\\Html');
     $html->shouldReceive('justTesting')->once();
     $diff = new Diff(null, $html);
     $renderer = $diff->getRenderer();
     $renderer->justTesting();
 }