Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
26 | public function testGetProviderContainer() |
||
27 | { |
||
28 | if( !class_exists( '\League\Flysystem\Rackspace\RackspaceAdapter' ) ) { |
||
29 | $this->markTestSkipped( 'Install Flysystem Rackspace adapter' ); |
||
30 | } |
||
31 | |||
32 | $object = new FlyRackspace( array( 'container' => 'test' ) ); |
||
33 | $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
||
34 | |||
35 | $this->setExpectedException( '\OpenCloud\Common\Exceptions\CredentialError' ); |
||
36 | $object->has( 'test' ); |
||
37 | } |
||
38 | } |
||
39 |