コード例 #1
0
 /**
  * @return void
  */
 public function testIsNot()
 {
     $res = $this->Comments->isNotBit(BitmaskedComment::STATUS_PUBLISHED);
     $expected = ['NOT' => ['BitmaskedComments.status' => 2]];
     $this->assertEquals($expected, $res);
 }