public function testPackage() { $this->compoScan->scanPackage('org.equinox.ioc.componentScan.package'); $dep = $this->context->getBeanDefinition('dep'); $this->assertEquals($this->getExpectedDependance(), $dep); $dep = $this->context->getBeanDefinition('Bean'); $this->assertEquals($this->getExpectedBean(), $dep); }