We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680e823 commit dfaf088Copy full SHA for dfaf088
tests/RackspaceTests.php
@@ -49,6 +49,14 @@ public function testHasFail()
49
$this->assertFalse($adapter->has('filename.ext'));
50
}
51
52
+ public function testHasNotFound()
53
+ {
54
+ $container = $this->getContainerMock();
55
+ $container->shouldReceive('getObject')->andThrow('OpenCloud\ObjectStore\Exception\ObjectNotFoundException');
56
+ $adapter = new Rackspace($container);
57
+ $this->assertFalse($adapter->has('filename.ext'));
58
+ }
59
+
60
public function testWrite()
61
{
62
$container = $this->getContainerMock();
0 commit comments