public function testConfig() { $doc = new Epic_Mongo_Document(array(), array('test' => true)); $this->assertTrue($doc->getConfig('test')); $this->assertTrue(is_array($doc->getConfig())); $this->assertTrue(is_null($doc->getConfig('notset'))); }