public function testGetAdapterWithConfig() { // SimpleDB adapter $simpleDbAdapter = Zend_Cloud_DocumentService_Factory::getAdapter(new Zend_Config(Zend_Cloud_DocumentService_Adapter_SimpleDbTest::getConfigArray())); $this->assertEquals('Zend_Cloud_DocumentService_Adapter_SimpleDb', get_class($simpleDbAdapter)); // Azure adapter $azureAdapter = Zend_Cloud_DocumentService_Factory::getAdapter(new Zend_Config(Zend_Cloud_DocumentService_Adapter_WindowsAzureTest::getConfigArray())); $this->assertEquals('Zend_Cloud_DocumentService_Adapter_WindowsAzure', get_class($azureAdapter)); }