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\HasProvidedDocument;
use GBProd\ElasticsearchDataProviderBundle\DataProvider\RegistryEntry;
/**
* Tests for HasProvidedDocument
*
* @author gbprod <[email protected]>
*/
class HasProvidedDocumentTest extends \PHPUnit_Framework_TestCase
{
public function testConstruction()
$testedInstance = new HasProvidedDocument('id');
$this->assertEquals('id', $testedInstance->getId());
}