コード例 #1
0
 public function testNoAnnotation()
 {
     $this->compoScan->scanFile(__DIR__ . '/annoted/NoAnnotation.php', 'org\\equinox\\ioc\\componentScan\\annoted');
     $this->assertEquals(array(), $this->context->getBeanDefinitions());
 }
コード例 #2
0
 public function hasBean($beanName)
 {
     return $this->applicationContext->hasComponent($beanName);
 }