/**
* Creates the PDepend summary report for the source associated with the
* calling test case.
*
* @return string
* @since 0.10.0
*/
protected function createSummaryXmlForCallingTest()
{
$this->changeWorkingDirectory($this->createCodeResourceURI('config/'));
$file = self::createRunResourceURI('summary.xml');
$log = new Xml();
$log->setLogFile($file);
$pdepend = $this->createEngineFixture();
$pdepend->addFile(self::createCodeResourceUriForTest());
$pdepend->addReportGenerator($log);
$pdepend->analyze();
return $file;
}