public function testConstrunct() { try { $ossClient = new OSSClient(Config::OSS_ACCESS_ID, Config::OSS_ACCESS_KEY, Config::OSS_ENDPOINT); $this->assertFalse($ossClient->isUseSSL()); $ossClient->setUseSSL(true); $this->assertTrue($ossClient->isUseSSL()); $this->assertTrue(true); $this->assertEquals(3, $ossClient->getMaxRetries()); $ossClient->setMaxTries(4); $this->assertEquals(4, $ossClient->getMaxRetries()); $ossClient->setTimeout(10); $ossClient->setConnectTimeout(20); } catch (Exception $e) { assertFalse(true); } }