public function testXmppComponentBy() { $values = array('id', 'name', 'serviceHostname'); foreach ($values as $value) { $this->assertTrue(\Zimbra\Enum\XmppComponentBy::has($value)); } }