public function testThrowsExceptionWithSwitchStatement() { $function = function () { switch (true) { } }; $this->assertParsedAs($function, []); }