Пример #1
0
 /**
  * Force all the scanner classes to be auto loaded
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     $required = array('picon\\ClassScanner', 'picon\\AnnotationRule', 'picon\\ClassNamespaceRule', 'picon\\ClassNameRule', 'picon\\SubClassRule');
     foreach ($required as $class) {
         new \ReflectionClass($class);
     }
 }
Пример #2
0
 public static function setUpBeforeClass()
 {
     AbstractPiconTest::$autoLoader = new TestAutoLoader();
     AbstractPiconTest::loadAssets(ASSETS_DIRECTORY);
 }
 public function setUp()
 {
     parent::setUp();
     $this->resolver = $this->newResolver();
 }