public function Framework_TestCaseTest::testNoArgTestCasePasses in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Framework/TestCaseTest.php \Framework_TestCaseTest::testNoArgTestCasePasses()
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ TestCaseTest.php, line 167
Class
- Framework_TestCaseTest
- @since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestCase
Code
public function testNoArgTestCasePasses() {
$result = new PHPUnit_Framework_TestResult();
$t = new PHPUnit_Framework_TestSuite('NoArgTestCaseTest');
$t
->run($result);
$this
->assertEquals(1, count($result));
$this
->assertEquals(0, $result
->failureCount());
$this
->assertEquals(0, $result
->errorCount());
}