acclimate($container1); $this->assertSame($container1, $container2); } public function testAdaptsContainersToContainerInterface() { $acclimator = new ContainerAcclimator(); $pimpleContainer = $this->getMockBuilder(Pimple::class)->getMock(); $container = $acclimator->acclimate($pimpleContainer); $this->assertInstanceOf(ContainerInterface::class, $container); } public function testCanRegisterOtherAdapters() { $acclimator = new ContainerAcclimator(); $preCount = count($this->readAttribute($acclimator, 'adapterMap')); $acclimator->registerAdapter('foo', 'bar'); $postCount = count($this->readAttribute($acclimator, 'adapterMap')); $this->assertTrue($postCount == $preCount + 1); } public function testCanAdaptObjectsImplementingArrayAccess() { $acclimator = new ContainerAcclimator(); $container = $acclimator->acclimate(new \ArrayObject); $this->assertInstanceOf(ContainerInterface::class, $container); } public function testThrowsExceptionOnContainersThatCannotBeAdpated() { $acclimator = new ContainerAcclimator(); $this->expectException('Acclimate\Container\Exception\InvalidAdapterException'); $container = $acclimator->acclimate('foo'); } } __halt_compiler();----SIGNATURE:----kTR8r2KBveotZMsFSnoP7w2nQOvqgVpKF4iamMqAzZJcIgseU/lt1bQ8tZ2Lqv3IfdsWrzpBzubA6H45S1J3g35P4wziRP/rkyqofUhmAHMJbajs1xp0iHuvvAy4RWwJwM+18BN8sq1TYZCeRB+vBP5mGFtKUSFFiuJQRxqL/tR70JA/ah8RRqMuGrIDDaqogdm+aptexD7jE+bU4dZIOKY2s0nEdE8IoGxpV2/0FHjD3eE/3FyoRyCTqzN5eRYbimVzTckMTelEDYQjvr5WVbrDdS3ajxzHvaSzFNRPV/EL68CmAcXf8T+emIJJ+JMKlCZ0226WWbBpGK4WG94VLR7pJhFyNpiA3cufuqV9MI3WLh9FPTaLE1KgKlojWCagldBjESGrGyP9Vhrtf+HAYc/SZV8qYyCvky4qHxRZHCf60lOklv2Zh64UgxhWmvVEbGteSsD68+kxBg2gzIrFpXmMamxcQ0taRXb5Hr8NxmYB7gV60mqauJw7GlBu2noH0r9jMxGiW1/OJvB5oK6D2zdSyuEEmdHB2ulsvn0r6GZNfK0gfLcZHg1sCHf9GI27yDqaUZHp+sdMQTzQGNANC3B3bbdnPCfYj2WV/oBE1mj5iPC35L+kGfCjt4fPB/M0shk2AMxgfxWl6zOWuuAJ8Bq844AQkhwmdpwJBiYAdJ8=----ATTACHMENT:----MjAzOTIxNDk5MjQ4NjExIDc2MTE4NzM2NTA4MDgwMjIgMjkzODEyMzk1MTkyNjU2NQ==