createContainer(); $this->assertTrue($container->has('array_iterator')); $arrayIterator = $container->get('array_iterator'); $this->assertEquals([1, 2, 3, 4, 5], iterator_to_array($arrayIterator)); } public function testThrowsExceptionOnNonExistentItem() { $container = $this->createContainer(); $this->assertFalse($container->has('foo')); $this->expectException(NotFoundExceptionInterface::class); $container->get('foo'); } public function testAdapterWrapsOtherExceptions() { $container = $this->createContainer(); try { $container->get('error'); } catch (\Exception $e) { $this->assertInstanceOf(ContainerExceptionInterface::class, $e); $this->assertEquals(ContainerException::class, get_class($e)); } } /** * @return ContainerInterface */ abstract protected function createContainer(); } __halt_compiler();----SIGNATURE:----KgVW/F69QvlPxwbJkkbicCZqjrVs0OWlyDnqCgbCOSKSVS+Fwv92v/M6xmUMOHjNqjSjjTlysbfX8PXY+Hmqsq5vVRdsYNXKWLtw/ayIHga0SRPCtt+xUwAbHW1NuJ8zOBx9wy/j54utmwMaGE/+GLS8OqBGkErUUeEefq0QfVdcefRvoPuWZP0OAWcASfDK/Eg3fUFcqHukyOVqT0jvN5lQ3i89syST2n47trGpme/i5PaR+SCrxA9Pr9vRtafUiG9PMMPwx9fVUc7t/pqqlsaqqex5s2VQ9cTJJV9GwZY5N72Cure+4RhoFwhOVT7uLEqhiKswbIvDkdw4AgEwDP6r4rPXqED8KxE2cch5Xx1M0EmGTNEFFCsB1fhm0Z1QbdJXN80U7S3szG8C9LRepWwyCB+vKS5sA1QoEg2WXspecAsGMlzGo2n8Nenlk4UyEWH/k+g7LKSY9yqVoQwQl2ZQ6PPky4DcB+S+N6KoRf6u5s4ar7cOIJXhthvr4ZVy5NrRUuuKiIBbEFUzVvkSyLJUU/0toZaA4ihEKbQE8/kdnIvb1dL0u+XkHc+cmSQMZ2ndjrfTVbDYONx/tvKHcDEgkRNKFjuUBhaeYy1EKmfPXf82VK/vzxIRlr44UYAM1eB7WgCcjNXCzBVWx6+hZNIcsQ9JlgCkPtDdohGfV/s=----ATTACHMENT:----OTM5Mjg3MzIwMTIwMTQ3OCA3MDg2MTM1OTMwMjI2MzA1IDIyNjc5ODE3NzU1MDE2ODY=