for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tests\AppBundle\Sync\Entity;
/**
* Collection tests
*
* @author Sergey Sadovoi <[email protected]>
*/
class CollectionTest extends \PHPUnit_Framework_TestCase
{
public function testInit()
* @var \AppBundle\Sync\Entity\Collection $collection
$collection = $this->getMockForAbstractClass('\\AppBundle\\Sync\\Entity\\Collection');
$this->assertEquals(0, $collection->count());
$this->assertEquals(0, $collection->key());
}