public function Framework_TestCaseTest::testExpectOutputStringFooActualBar

File

drupal/core/vendor/phpunit/phpunit/Tests/Framework/TestCaseTest.php, line 325

Class

Framework_TestCaseTest
@package PHPUnit @author Sebastian Bergmann <sebastian@phpunit.de> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link …

Code

public function testExpectOutputStringFooActualBar() {
  $test = new OutputTestCase('testExpectOutputStringFooActualBar');
  $result = $test
    ->run();
  $this
    ->assertEquals(1, count($result));
  $this
    ->assertFalse($result
    ->wasSuccessful());
}