OSS\Tests\CopyObjectResultTest::testNullResponse PHP Метод

testNullResponse() публичный Метод

public testNullResponse ( )
    public function testNullResponse()
    {
        $response = null;
        try {
            new CopyObjectResult($response);
            $this->assertFalse(true);
        } catch (OssException $e) {
            $this->assertEquals('raw response is null', $e->getMessage());
        }
    }