doConstructionTestInPhp5(); } else { $this->doConstructionTestInPhp7(); } } private function doConstructionTestInPhp5() { $this->expectException('PHPUnit_Framework_Error'); // This should trigger an error $container = new ArrayAccessContainerAdapter('not-a-container'); } private function doConstructionTestInPhp7() { $typeErrorOccurred = false; try { $container = new ArrayAccessContainerAdapter('not-a-container'); } catch (\TypeError $typeError) { $typeErrorOccurred = true; } $this->assertTrue($typeErrorOccurred, 'TypeError should have occurred'); } } __halt_compiler();----SIGNATURE:----n7pYMm9fVf/Gz6/qayDYO8DnfAz+NEHo9/gRI+U8HCxVnpfBJ9V0qmOogi9DNTqJabvMvjFJotfokIzEglvDxh0N/246SV+qvRHxbftOE6pG9DB5kZpsrIQhn3EaEhZEkn0TfQ5WGH79dtqfxT+GZ3HaWnKCiGHXFJvJkfBGkYXsKpvEiW9zme7bdtvvd7NFnR56M5hZA59M4tR76RktisPjKySkmpI6U/qoMDP0NJokNPG456fHkcB0ihSmYeXoSrUSqmV5V2PE4in5MygLfoZHB/0VC4EHcaMDnK/y7FgyKxMlisIM6g1wO3BXjIfx/K38TeWDLA2e+yWcV+XXLfkhhx+9sNCvblS6EzRfcxfg9TKfSBQJ3FJChKpgK/F63YYE82Kvb0qI5GeJVCOj1SFU4umJp8dmeRNYYWRLgN7yXvSvwEaVpyCB2DBr1lYgdDxilZ/ZCWLApuO/NI0ZAWEGGOTEFuZSzqAum2KcSh972sUo8wTH/tzVxKNYBN42X4A/itkIc0CPbVCQQtl6q/wROkAxAsrjMIROGpI8YsOLEWYzWk7zm6zojj4k+5bdzyTnNQswPc/mIiI01G7EaeejLKrGFS1fKlDIJYwsp7W4pjsB+vTENnr+76Eo55wjasWVzhxnA7AgBpx/Jxgp/htxy56zSn6mG1Wg0IxljP8=----ATTACHMENT:----OTczNzU5OTAyOTI5MzI3NiA2Nzc3MjU3NzAyNjYwNDMwIDgzNjQwOTY3MjQ1ODA2MDQ=