public function testCreateEntitiesFromConfig() { $config = array('event' => array('tableName' => 'event'), 'vote' => array('tableName' => 'vote'), 'session' => array('tableName' => 'session')); $this->object->createEntitiesFromConfig($config); $this->assertInstanceOf('Phabric\\Entity', $this->object->getEntity('event')); $this->assertInstanceOf('Phabric\\Entity', $this->object->getEntity('vote')); $this->assertInstanceOf('Phabric\\Entity', $this->object->getEntity('session')); }