/**
  * @return void
  */
 public function testEncodeBitmask()
 {
     $res = $this->Comments->encodeBitmask([BitmaskedComment::STATUS_PUBLISHED, BitmaskedComment::STATUS_APPROVED]);
     $expected = BitmaskedComment::STATUS_PUBLISHED | BitmaskedComment::STATUS_APPROVED;
     $this->assertSame($expected, $res);
 }