public function testReturnsFailForComboClasses()
 {
     $app = new CoversValidator();
     /** @var ValidateCommand $command */
     $command = $app->find('validate');
     $commandTester = new CommandTester($command);
     $exitCode = $commandTester->execute(array('-c' => 'tests/Fixtures/configuration-all.xml'));
     $this->assertGreaterThan(0, $exitCode);
     $this->assertRegExp('/Invalid/', $commandTester->getDisplay());
     $this->assertRegExp('/Valid/', $commandTester->getDisplay());
 }
 public function testSkipsEmptyTestClasses()
 {
     $app = new CoversValidator();
     /** @var ValidateCommand $command */
     $command = $app->find('validate');
     $commandTester = new CommandTester($command);
     $exitCode = $commandTester->execute(array('-c' => 'tests/Fixtures/configuration-multi-testsuite.xml'), array('verbosity' => OutputInterface::VERBOSITY_DEBUG));
     $this->assertEquals(0, $exitCode);
     $display = $commandTester->getDisplay();
     $this->assertNotRegExp('/PHPUnit_Framework_Warning::Warning/', $display);
     $this->assertRegExp('/Validation complete. All @covers tags are valid./', $display);
 }