breeze '; $this->assertEquals($expected, $this->compiler->compileString($string)); } public function testSwitchstatementsAreCompiled() { $string = '@switch(true) @case(1) foo @case(2) bar @endswitch foo @switch(true) @case(1) foo @case(2) bar @endswitch'; $expected = ' foo bar foo foo bar '; $this->assertEquals($expected, $this->compiler->compileString($string)); } }