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