assertEquals('http://127.0.0.1:10000/devstoreaccount1', $storage->getBaseUrl()); } /** * Test constructor for production */ public function testConstructorForProduction() { $storage = new Zend_Service_WindowsAzure_Storage(Zend_Service_WindowsAzure_Storage::URL_CLOUD_BLOB, 'testing', ''); $this->assertEquals('http://testing.blob.core.windows.net', $storage->getBaseUrl()); } } // Call Zend_Service_WindowsAzure_StorageTest::main() if this source file is executed directly. if (PHPUnit_MAIN_METHOD == "Zend_Service_WindowsAzure_StorageTest::main") { Zend_Service_WindowsAzure_StorageTest::main(); }