Esempio n. 1
0
 protected static function _getStandardMethods()
 {
     if (self::$_standardMethods === null) {
         self::$_standardMethods = file_get_contents(dirname(__FILE__) . '/Templates/Methods');
     }
     return self::$_standardMethods;
 }
Esempio n. 2
0
 protected function _createClassDefinition($class)
 {
     $definition = '';
     $definition .= 'class ' . $class . '{';
     $definition .= Mockery_Mockery::applyTo($class);
     $definition .= '}';
     return $definition;
 }