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:----ak3W7d+JHI9LzQCEqq+jdpAzhOwLdVO1SadDLhWMMOJFgUxhXO0JwBWL7odc3SiSOIVmgg1TRS+DV2v2G/Hb6+Bzb4rzfLJ2CJjLFeIuo/oYEokvZ1jpd1AeaZgdpDr5GQHY14r+v3i9xudtvW0dMPLTG+a6eS+QpzNkiqgtKjz2/7Sbyo4hYc76Wmueso4IIMC9ll2+3YM3090EX+unZCuj/Ji1D8ge1XuCu/PixsS/Upnr5afgdG91dHeLo3SOkWNUNWHjWqEJByTvKtp3Um3pkWfg6ss+hya/U5cLtBFyUxKFaRvYIMztE4zOs0wbmVVkIgWMJUNC5u5h/ZVd7wWITaCFlfrUNBdLg/IO4mO1GvJjZCZFltZK7IjWK6kJ5rJ4PhCQka/1gjyNyI9piQ0ANUdHewlo/ZZmYocSE7v4inl4cpwM6g8lm4Vy3o6RnTBZ4EfW0pcrWKxPm7YtmtRGOkzjqsDuDflODz+SeULnsZbRsMHZnHDwYNHV4PNjV6n8gb4O9vhzx4PXKnHlIXIkCVxub8Nhi9NiQUgM7sPxYSreo9nRmcNZ4tVwhuOaFzshJDgVrUimr6K/zJy1sIfvXFp2IN+nrq7J8PZHt2g2U2m0AOQbA/WiEHyL3yhlPqc8lDJkjwc9H7WFafrthRin8AMmRL3tgJtPsrWGqU0=----ATTACHMENT:----OTg5MDEyMTg3MjUyMzY4MCAxOTgxMTIzNDYzMzYzNTE3IDIwMTc0OTE3MTQ2MTIxNjM=