public function testCreateTestCase() { $config = new TestSuite(); $config->createTestCase('MyTestCase', 'MyClassName', array('foo' => 'bar')); $config->createTestCase('MyTestCase2', 'MyClassName2', array('foo' => 'bar')); $testCases = $config->getTestCases(); $this->assertEquals(2, count($testCases)); $this->assertEquals('MyClassName', $testCases['MyTestCase']->getClassName()); // $this->assertNotEquals($newConfig, $config); }