/** * @expectedException InvalidArgumentException * @return null */ public function testAddExprBadKeyEmptyString() { $expr = new DomainExpr("user.member = something"); $this->criteria->addExpr('', $expr); }