environment('staging')): ?> breeze boom "; $this->assertEquals($expected, $this->compiler->compileString($string)); } public function testEnvStatementsWithMultipleStringParamsAreCompiled() { $string = "@env('staging', 'production') breeze @else boom @endenv"; $expected = "environment('staging', 'production')): ?> breeze boom "; $this->assertEquals($expected, $this->compiler->compileString($string)); } public function testEnvStatementsWithArrayParamAreCompiled() { $string = "@env(['staging', 'production']) breeze @else boom @endenv"; $expected = "environment(['staging', 'production'])): ?> breeze boom "; $this->assertEquals($expected, $this->compiler->compileString($string)); } public function testProductionStatementsAreCompiled() { $string = '@production breeze @else boom @endproduction'; $expected = "environment('production')): ?> breeze boom "; $this->assertEquals($expected, $this->compiler->compileString($string)); } }