Example #1
0
 /**
  * testType method
  *
  * @return void
  */
 public function testType()
 {
     $packet = new Packet(Packet::TYPE_CONNACK);
     $this->assertSame(Packet::TYPE_CONNACK, $packet->type());
 }