for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Aimeos\MW\Filesystem;
class FlyLocalTest extends \PHPUnit_Framework_TestCase
{
protected function setUp()
if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) {
$this->markTestSkipped( 'Install Flysystem first' );
}
public function testGetProvider()
$object = new FlyLocal( array( 'basedir' => dirname( dirname( __DIR__ ) ) ) );
$this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object );
$object->has( 'test' );
public function testGetProviderNoBasedir()
$object = new FlyLocal( array() );
$this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' );