예제 #1
0
파일: TableTest.php 프로젝트: rjsmelo/tiki
 function testFindIn()
 {
     $mock = $this->getMock('TikiDb');
     $table = new TikiDb_Table($mock, 'my_table');
     $this->assertEquals($table->expr('(`a` LIKE ? OR `b` LIKE ? OR `c` LIKE ?)', array("%X%", "%X%", "%X%")), $table->findIn('X', array('a', 'b', 'c')));
 }