Exemple #1
0
 public function shouldAllowToArrayWithoutSensitiveValuesAdnLocal()
 {
     $array = new ArrayObject(['local' => 'theLocal', 'sensitive' => new SensitiveValue('theSens'), 'foo' => 'fooVal']);
     $this->assertEquals(['foo' => 'fooVal'], $array->toUnsafeArrayWithoutLocal());
 }