/** Tests the behaviour of @ref TemplateUtils::splitDSN. */ public function testUtilsSplitDSN() { $settings =& $this->environ->settings; $this->assertEquals(array('string', 'foo'), TemplateUtils::splitIODSN($settings, 'string://foo')); $this->assertEquals(array($settings['defaultIODriver'], 'foo'), TemplateUtils::splitIODSN($settings, 'foo')); }