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