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