Example #1
0
 public function test_ensure_with_scalar_type_and_null_value()
 {
     $config = new Config();
     $config->set('foo', null);
     $this->setExpectedException(InvalidConfigValueException::class);
     $config->ensure('foo', 'error message', 'array');
 }