for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Tests\Innmind\Neo4jBundle\Factory;
use Innmind\Neo4jBundle\Factory\DelegationPersisterFactory;
use Innmind\Neo4j\ONM\{
PersisterInterface,
Persister\DelegationPersister
};
class DelegationPersisterFactoryTest extends \PHPUnit_Framework_TestCase
{
public function testMake()
$p = DelegationPersisterFactory::make([
$this->getMock(PersisterInterface::class)
]);
$this->assertInstanceOf(DelegationPersister::class, $p);
}