Exemplo n.º 1
0
 public function testGetResourceCollector()
 {
     $this->setPropertyValue($this->resolver, 'collector', $this->collector);
     $this->assertSame($this->collector, $this->resolver->getResourceCollector());
 }
Exemplo n.º 2
0
 public function setSetLoaderDelegator()
 {
     $this->setPropertyValue($this->wise, 'collector', $this->collector);
     $resolver = new LoaderResolver();
     $loader = new DelegatingLoader($resolver);
     $this->wise->setLoader($loader);
     $this->assertSame($this->collector, $resolver->getResourceCollector());
     $this->assertSame($this->wise, $resolver->getWise());
 }