* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Templating\Tests\Loader; use PHPUnit\Framework\TestCase; use Symfony\Component\Templating\Loader\Loader; use Symfony\Component\Templating\TemplateReferenceInterface; class LoaderTest extends TestCase { public function testGetSetLogger() { $loader = new ProjectTemplateLoader4(); $logger = $this->getMockBuilder('Psr\Log\LoggerInterface')->getMock(); $loader->setLogger($logger); $this->assertSame($logger, $loader->getLogger(), '->setLogger() sets the logger instance'); } } class ProjectTemplateLoader4 extends Loader { public function load(TemplateReferenceInterface $template) { } public function getLogger() { return $this->logger; } public function getDebugger() { return $this->debugger; } public function isFresh(TemplateReferenceInterface $template, $time) { return false; } } __halt_compiler();----SIGNATURE:----ECX/gl/TnDAsn4nXE4jkAKE9w8cDT5rhBER7Y5WM/4IXCupOM/wlfYv8OKWhhXxnTq9RWJT7GnfFJ3E2FbKolvYq4RgtmMS8Ze+qP2e008jMFSrD2T0am+4XZLhFKFW/uFzlOom3qBlOpelQT/t4baf4AZbObvlTSXhs/4w+rXhPzz05F0KPmoJ6xPY4+Yu+b3igUEUtXlSi490biuB1r4gC+516pgRvxEv+XPsaQe9v84FgmIB6sOzVvEcL4qqLPzaaOuEMFw+MG66z6Gtf/iXoDqfY5FS0Um74ExeSJvC1KYPSDYfBiDwe2DqvW/wHa0V9Ri5UEGz3uvUukB5dxxLdXtgBGugoKlLVTHga5quCt2P3Ej2MuU3ETsgyo0BiCEncQjjL1S6cJQUeJF4hQfjQIUChiDE3T80yom3B1Er3Hg4z/c4dbR5yc2hgCE5+wGGtwkIg75dhV4q7tKMEkJ/tD2SPCXr1bKLr41vxQW3Vn+fgiqQYK5LxeC4xbHVaU/jupw8MKinxNgjjpNpoO4BDXhqP9FVyqyWonIhZ5fXwIRdxsLa/d20Nm5YK2DbyBm8ZQ1mhxvX1/TpURs2hGEdexy8hPXOoWpN8BW5tuunbUuK2Yh8ce7JkuNLEJNu8gdN1MVLah0L6ifWktLQlaGNq9mgIWbS+aVroyTqtGKE=----ATTACHMENT:----MjQ1MTExMDQ0MTk3MjU1OSA0MDE0MDQ1NDAzMjQ4Mjg1IDc0NDcwNDUxMzA3OTU3NA==