3 * This file is part of PHPUnit.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
12 * @since Class available since Release 2.0.0
14 class Framework_TestImplementorTest extends PHPUnit_Framework_TestCase
17 * @covers PHPUnit_Framework_TestCase
19 public function testSuccessfulRun()
21 $result = new PHPUnit_Framework_TestResult;
23 $test = new DoubleTestCase(new Success);
26 $this->assertEquals(count($test), count($result));
27 $this->assertEquals(0, $result->errorCount());
28 $this->assertEquals(0, $result->failureCount());