/**
  * @dataProvider invalidStatementsProvider
  * @expectedException Psy\Exception\ParseErrorException
  */
 public function testInvalidStatementsThrowParseErrors($code)
 {
     $cc = new CodeCleaner();
     $cc->clean(array($code));
 }
 /**
  * @dataProvider codeProvider
  */
 public function testAutomaticSemicolons(array $lines, $requireSemicolons, $expected)
 {
     $cc = new CodeCleaner();
     $this->assertEquals($expected, $cc->clean($lines, $requireSemicolons));
 }