public function testEmptySupportedTag() { $state = $this->getMockSkipConstructor('Horde_ActiveSync_State_Base'); $fixture = array('userAgent' => 'Apple-iPad3C6/1202.435', 'properties' => array(Horde_ActiveSync_Device::OS => 'iOS 8.1.1')); $device = new Horde_ActiveSync_Device($state, $fixture); $contact = new Horde_ActiveSync_Message_Appointment(array('device' => $device, 'protocolversion' => Horde_ActiveSync::VERSION_FOURTEEN)); $contact->setSupported(array(Horde_ActiveSync::ALL_GHOSTED)); $this->assertEquals(true, $contact->isGhosted('subject')); $this->assertEquals(true, $contact->isGhosted('body')); $device = new Horde_ActiveSync_Device($state, $fixture); $contact = new Horde_ActiveSync_Message_Appointment(array('device' => $device, 'protocolversion' => Horde_ActiveSync::VERSION_SIXTEEN)); $contact->setSupported(array(Horde_ActiveSync::ALL_GHOSTED)); $this->assertEquals(true, $contact->isGhosted('subject')); $this->assertEquals(true, $contact->isGhosted('body')); }