public function testYouCanSetTestsAsAnArray() { $test = new Test('mySetTest'); $this->container[$test->getName()] = $test; $this->assertCount(1, $this->container); $this->assertEquals('mySetTest', $this->container['mySetTest']->getName()); }