forked from Webador/SlmQueue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efbdc60
commit efd6b5b
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
tests/SlmQueueTest/Factory/QueueControllerPluginFactoryTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace SlmQueueTest\Factory; | ||
|
||
use PHPUnit_Framework_TestCase as TestCase; | ||
use SlmQueue\Factory\QueueControllerPluginFactory; | ||
use SlmQueueTest\Util\ServiceManagerFactory; | ||
|
||
class QueueControllerPluginFactoryTest extends TestCase | ||
{ | ||
|
||
public function testCreateService() | ||
{ | ||
$sm = ServiceManagerFactory::getServiceManager(); | ||
$factory = new QueueControllerPluginFactory(); | ||
$queueControllerPluginFactory = $factory->createService($sm); | ||
|
||
$this->assertInstanceOf('SlmQueue\Controller\Plugin\QueuePlugin', $queueControllerPluginFactory); | ||
} | ||
|
||
} |