public function testLink()
{
$gatewayMock = $this->getGatewayMock();
$gatewayMock->expects($this->once())->method('insertGroupAssignment')->with($this->equalTo(3), $this->equalTo(23), $this->equalTo(1));
$mapperMock = $this->getMapperMock();
$handler = $this->getHandler();
$res = $handler->link(3, 23, 1);
$this->assertTrue($res);
}