function testNot() { $mock = $this->getMock('TikiDb'); $table = new TikiDb_Table($mock, 'my_table'); $this->assertEquals($table->expr('$$ <> ?', array(1)), $table->not(1)); }