public function Framework_TestListenerTest::testFailure in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Framework/TestListenerTest.php \Framework_TestListenerTest::testFailure()
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ TestListenerTest.php, line 91
Class
- Framework_TestListenerTest
- @since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestCase
Code
public function testFailure() {
$test = new Failure();
$test
->run($this->result);
$this
->assertEquals(1, $this->failureCount);
$this
->assertEquals(1, $this->endCount);
}