for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tests\GBProd\ElasticsearchDataProviderBundle\Event;
use GBProd\ElasticsearchDataProviderBundle\Event\HasIndexedDocument;
use GBProd\ElasticsearchDataProviderBundle\DataProvider\RegistryEntry;
/**
* Tests for HasIndexedDocument
*
* @author gbprod <[email protected]>
*/
class HasIndexedDocumentTest extends \PHPUnit_Framework_TestCase
{
public function testConstruction()
$testedInstance = new HasIndexedDocument('id');
$this->assertEquals('id', $testedInstance->getId());
}