示例#1
0
 public function test_container_can_toggle_strict_mode()
 {
     $container = new Container(false);
     $this->assertFalse($container->isInStrictMode());
     $container->setStrictMode(true);
     $this->assertTrue($container->isInStrictMode());
 }