for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Aimeos\MW\Filesystem;
class FlyReplicateTest extends \PHPUnit_Framework_TestCase
{
public function testGetProvider()
if( !class_exists( '\League\Flysystem\Replicate\ReplicateAdapter' ) ) {
$this->markTestSkipped( 'Install Flysystem Replicate adapter' );
}
$config = array(
'adapter' => 'Replicate',
'source' => array( 'adapter' => 'FlyMemory' ),
'replica' => array( 'adapter' => 'FlyMemory' ),
);
$object = new FlyReplicate( $config );
$this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object );
$object->has( 'test' );
public function testGetProviderNoSource()
$this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' );
public function testGetProviderNoReplica()