public function testShouldNotCompileDefenderTemplateHelpers()
{
$this->app['config']->set('defender.template_helpers', false);
$this->app->register('Artesaos\\Defender\\Providers\\DefenderServiceProvider');
$view = $this->stubsPath('views/defender.blade.txt');
$expected = $this->stubsPath('views/defender.blade.output.txt');
$compiled = Blade::compileString(file_get_contents($view));
$this->assertNotEmpty($compiled);
$this->assertContains('@shield', $compiled);
$this->assertContains('@is', $compiled);
$this->assertContains('@endshield', $compiled);
$this->assertContains('@endis', $compiled);
$this->assertStringNotEqualsFile($expected, $compiled);
}