/** * @test */ public function shouldReturnNullForEmptyArray() { //given $restriction = Restrictions::isIn(array()); //when $sql = $restriction->toSql('category_id'); //then $this->assertNull($sql); }