Skip to content

Commit

Permalink
Added test to make sure that invokables do not overwrite delegators and
Browse files Browse the repository at this point in the history
factories.
  • Loading branch information
fhein committed Feb 2, 2018
1 parent babbea3 commit 3581ee8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/ServiceManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace ZendTest\ServiceManager;

use DateTime;
use PHPUnit\Framework\MockObject\Invokable;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use stdClass;
Expand All @@ -16,9 +17,9 @@
use Zend\ServiceManager\Factory\InvokableFactory;
use Zend\ServiceManager\ServiceManager;
use ZendTest\ServiceManager\TestAsset\InvokableObject;
use ZendTest\ServiceManager\TestAsset\SimpleServiceManager;
use PHPUnit\Framework\MockObject\Invokable;
use ZendTest\ServiceManager\TestAsset\SampleFactory;
use ZendTest\ServiceManager\TestAsset\SimpleServiceManager;
use ZendTest\ServiceManager\TestAsset\TaggingDelegatorFactory;

/**
* @covers \Zend\ServiceManager\ServiceManager
Expand Down

0 comments on commit 3581ee8

Please sign in to comment.