/** * @expectedException SimpleAR\Exception\MalformedOptionException */ public function testMalformedConditionsOption() { $b = new WhereBuilder(); $conditions = ['countryId', '!=', 12]; // Surrounding parenthesis missing. $b->conditions($conditions); $b->build(); }