12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /**
- * RSQueueBundle for Symfony2
- *
- * Marc Morera 2013
- */
- namespace Mmoreram\GearmanBundle\Tests\Event;
- use Mmoreram\GearmanBundle\Event\GearmanClientCallbackExceptionEvent;
- /**
- * Tests GearmanClientCallbackExceptionEventTest class
- */
- class GearmanClientCallbackExceptionEventTest extends \PHPUnit_Framework_TestCase
- {
- /**
- * @var GearmanClientCallbackExceptionEvent
- *
- * Object to test
- */
- private $gearmanClientCallbackExceptionEvent;
- /**
- * Setup
- */
- public function setUp()
- {
- $this->gearmanClientCallbackExceptionEvent = new GearmanClientCallbackExceptionEvent($this->gearmanTask);
- }
- /**
- * Tests if Event extends needed classes
- */
- public function testInstancesOf()
- {
- $this->assertInstanceOf('Symfony\Component\EventDispatcher\Event', $this->gearmanClientCallbackExceptionEvent);
- }
- }
|