public function testGroupJoin()
{
$constraint = $this->prophesize(Comparison::class);
$constraint->getComparator()->willReturn('$eq');
$constraint->getField()->willReturn('group');
$constraint->getValue()->willReturn('one');
$sql = $this->visitor->visit($constraint->reveal());
$this->assertRegExp('{LEFT JOIN sgroup_subject}', $sql[0]);
$this->assertRegExp('{sgroup_subject.sgroup = :param0}', $sql[0]);
}