public function testSampleTestCaseBuildsAFullSuiteContainingAllItsTests() { require_once __DIR__ . '/fixtures/SuiteBuildingSuites.php'; $suite = Extensions_SeleniumTestCaseSample::suite('Extensions_SeleniumTestCaseSample'); $this->assertInstanceOf('PHPUnit_Framework_TestSuite', $suite); $this->assertEquals(2, count($suite->tests())); }
public function testSampleTestCaseBuildsAFullSuiteContainingAllItsTests() { $suite = Extensions_SeleniumTestCaseSample::suite('Extensions_SeleniumTestCaseSample'); $this->assertInstanceOf('PHPUnit_Framework_TestSuite', $suite); $this->assertEquals(2, count($suite->tests())); }