Наследование: extends PHPUnit_Framework_TestCase
 public static function assertContainsOnlyInstancesOf($classname, $haystack, $message = '')
 {
     return parent::assertNotEmpty($haystack) && parent::assertContainsOnlyInstancesOf($classname, $haystack, $message);
 }
Пример #2
0
 /**
  * @param string $wsdl
  * @return Generator
  */
 public static function getInstance($wsdl, $reset = true, $gatherMethods = GeneratorOptions::VALUE_START)
 {
     AbstractModel::purgeUniqueNames();
     AbstractModel::purgeReservedKeywords();
     $g = parent::getInstance($wsdl, $reset);
     $g->setOptionPrefix('Api')->setOptionAddComments(array('release' => '1.1.0'))->setOptionCategory(GeneratorOptions::VALUE_CAT)->setOptionGatherMethods($gatherMethods);
     self::applyParsers($g, $wsdl);
     return $g;
 }