public function testAreaOverridesGlobal()
 {
     $result = $this->collector->collect('default', 'frontend');
     $globalBlock = $result->blocks->get('global.block');
     $this->assertInstanceOf(Config::class, $globalBlock);
     $this->assertEquals('tpl/for/frontend', $globalBlock->template);
 }
 public function testAreaOverridesGlobal()
 {
     $result = $this->collector->collect('default', 'frontend');
     $block = $result->blocks->get('some.block');
     $this->assertEquals('tpl/for/frontend', $block->get('template'));
 }