コード例 #1
0
 public function testGetSetResolver()
 {
     $resolver = new LoaderResolver();
     $loader = new DelegatingLoader($resolver);
     $this->assertSame($resolver, $loader->getResolver(), '->getResolver() gets the resolver loader');
     $loader->setResolver($resolver = new LoaderResolver());
     $this->assertSame($resolver, $loader->getResolver(), '->setResolver() sets the resolver loader');
 }