use Symfony\Component\Config\Exception\LoaderLoadException;
use Symfony\Component\Config\Loader\Loader;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\Config\Loader\LoaderResolverInterface;
class LoaderTest extends TestCase
{ public function testGetSetResolver() { $resolver =
$this->
createMock(LoaderResolverInterface::
class);
$loader =
new ProjectLoader1();
$loader->
setResolver($resolver);
$this->
assertSame($resolver,
$loader->
getResolver(), '->setResolver() sets the resolver loader'
);
} public function testResolve() { $resolvedLoader =
$this->
createMock(LoaderInterface::
class);
$resolver =
$this->
createMock(LoaderResolverInterface::
class);
$resolver->
expects($this->
once())