protected function setUpXdebugStubForFileWithIgnoredLines() {
$stub = $this
->getMock('PHP_CodeCoverage_Driver_Xdebug');
$stub
->expects($this
->any())
->method('stop')
->will($this
->returnValue(array(
TEST_FILES_PATH . 'source_with_ignore.php' => array(
2 => 1,
4 => -1,
6 => -1,
7 => 1,
),
)));
return $stub;
}