function testNotWithChaining() { $a = new lmbSQLCriteria('a'); $b = new lmbSQLCriteria('b'); $a->not()->add($b); $this->assertEqual($a->toStatementString(), 'NOT(a) AND b'); }