$this->assertEquals("The method 'testMethod' is not implemented in class 'SomeClass'.",$e->getMessage());
}
publicfunctiontestGetExceptionMessage()
{
$this->assertEquals('The query contains more than one result.',\Doctrine\Common\DoctrineException::getExceptionMessage('QueryException#nonUniqueResult'));