/**
  * Test common path extraction. Filtering the path all items have in common.
  * 
  * @return void
  */
 public function testGetCommonSourcePath()
 {
     $test = array(array('path' => '/path/to/my' . DIRECTORY_SEPARATOR . 'folder/and/files'), array('path' => '/path/to/my' . DIRECTORY_SEPARATOR . 'files'), array('path' => '/path/to/my' . DIRECTORY_SEPARATOR . 'other/source/directory'));
     $result = $this->_cbErrorHandler->getCommonSourcePath($test);
     $this->assertEquals('/path/to/my', $result);
 }