/** * It should act as an array. */ public function testArrayAccess() { $name = 'test'; $contentTypeName = 'hello'; $this->document->getLocale()->shouldNotBeCalled(); $this->propertyMetadata->isLocalized()->willReturn(false); $this->doGetProperty($name, $contentTypeName, null); }