/** * @test */ public function shouldCreateProperSqlForEmptyString() { //given $restriction = Restrictions::notEqualTo(''); //when $sql = $restriction->toSql('key'); //then $this->assertEquals('key <> ?', $sql); $this->assertEquals(array(''), $restriction->getValues()); }