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