From b096b36f950a9c3d6bd31043361ec97a403bfbbe Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Tue, 20 May 2014 18:25:06 +0200 Subject: [PATCH] #6266 - Verifying that the service manager is registered as a service in itself --- tests/ZendTest/Mvc/Service/ServiceManagerConfigTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/ZendTest/Mvc/Service/ServiceManagerConfigTest.php b/tests/ZendTest/Mvc/Service/ServiceManagerConfigTest.php index de759f24251..5125142ac73 100644 --- a/tests/ZendTest/Mvc/Service/ServiceManagerConfigTest.php +++ b/tests/ZendTest/Mvc/Service/ServiceManagerConfigTest.php @@ -136,4 +136,12 @@ function (ServiceLocatorInterface $serviceLocator, $name, $requestedName, $callb $this->assertInstanceOf('stdClass', $std); $this->assertEquals('baz', $std->bar); } + + /** + * @group 6266 + */ + public function testDefinesServiceManagerService() + { + $this->assertSame($this->services, $this->services->get('ServiceManager')); + } }