public function testUnlinkSuccess()
{
$gatewayMock = $this->getGatewayMock();
$gatewayMock->expects($this->once())->method('countGroupsForType')->with($this->equalTo(23), $this->equalTo(1))->will($this->returnValue(2));
$gatewayMock->expects($this->once())->method('deleteGroupAssignment')->with($this->equalTo(3), $this->equalTo(23), $this->equalTo(1));
$mapperMock = $this->getMapperMock();
$handler = $this->getHandler();
$res = $handler->unlink(3, 23, 1);
$this->assertTrue($res);
}