public function testGroupId() { $frame = new APSFrame(); $frame->setDestinationEndpoint(0xa); $frame->setGroupAddress(0xf00d); // Group ID should be included, but not the destination $frame->setDeliveryMode(APSFrame::DELIVERY_MODE_GROUP_ADDRESS); $this->assertEquals("0x0c 0x0d 0xf0 0x00 0x00 0x00 0x00 0x00 0x00", $frame->displayFrame()); }