public function testGetInstance() { $config = Application_Configuration::getInstance(); $this->assertNotNull($config); $this->assertInstanceOf('Application_Configuration', $config); $this->assertSame($config, Application_Configuration::getInstance()); }
/** * Oai_Model_Container constructor. * @param $docId * @param null $logger */ public function __construct($docId) { $this->_doc = $this->validateId($docId); $this->_docId = $this->_doc->getId(); $this->_appConfig = Application_Configuration::getInstance(); }