Beispiel #1
0
 public function getClassDeclaration()
 {
     $class = new ClassDeclaration();
     $class->setExtends($this->getToMock()->getName());
     $class->setClassName($this->getProxyName($this->getToMock()->getShortName()));
     return $class;
 }
Beispiel #2
0
 public function getClassDeclaration()
 {
     $classDec = new ClassDeclaration();
     $classDec->setClassName($this->getProxyName($this->getToMock()->getShortName()));
     $classDec->setImplements(array($this->getToMock()->getName()));
     return $classDec;
 }