| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function testGetProvider() |
||
| 17 | { |
||
| 18 | if( !class_exists( '\League\Flysystem\AwsS3v3\AwsS3Adapter' ) ) { |
||
| 19 | $this->markTestSkipped( 'Install Flysystem AwsS3v3 adapter' ); |
||
| 20 | } |
||
| 21 | |||
| 22 | $object = new FlyAwsS3( array( 'bucket' => 'test' ) ); |
||
| 23 | $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
||
| 24 | |||
| 25 | $this->setExpectedException( 'InvalidArgumentException' ); |
||
| 26 | $object->has( 'test' ); |
||
| 27 | } |
||
| 28 | |||
| 39 |