/** * @return void */ public function testIs() { $res = $this->Comments->isBit(BitmaskedComment::STATUS_PUBLISHED); $expected = ['BitmaskedComments.status' => 2]; $this->assertEquals($expected, $res); }