/** * @return void */ public function testGet() { $databaseCreatorMock = $this->getDatabaseCreatorMock(); $databaseCreatorCollection = new DatabaseCreatorCollection(); $databaseCreatorCollection->add($databaseCreatorMock); $this->assertSame($databaseCreatorMock, $databaseCreatorCollection->get(self::TEST_ENGINE)); }