diff --git a/test/Tests/StreamWrapperTest.php b/test/Tests/StreamWrapperTest.php index f0ad83d..a379fad 100644 --- a/test/Tests/StreamWrapperTest.php +++ b/test/Tests/StreamWrapperTest.php @@ -352,6 +352,11 @@ class StreamWrapperTest extends \HPCloud\Tests\TestCase { $contents = file_get_contents($url); $this->assertGreaterThan(5, strlen($contents)); + + $fsCopy = '/tmp/hpcloud-copy-test.txt'; + copy($url, $fsCopy, $this->basicSwiftContext()); + $this->assertTrue(file_exists($fsCopy)); + unlink($fsCopy); } /**