The two men got into a confrontation with the farmer when they tried to repossess items at a farm in Co Longford.
Patrick Mulvey and Justin Tighe, who work for Assets Security in Dun Laoghaire, a firm which repossesses items on behalf of financial institutions and others, said they feared for their lives after going to JAC Pigs Ltd to repossess items on behalf of GE Money.
The men claim that they were assaulted and held against their will at the pig farm of Donal and Margaret Connaughton.
They said they were only allowed to leave after they knelt and said a prayer.
They told Judge Anthony Hunt at Longford Circuit Court that they feared they were going to be violated by the large boar.
The Connaughtons, from Newtowncashel, claim they were assaulted by the men after they arrived to repossess a generator and powerwashers on April 29, 2010. Donal Connaughton faces eight charges and his wife faces six.
These include false imprisonment, threatening to kill or harm, and assault.
Mr Mulvey and Mr Tighe said that after arriving, Mr Mulvey walked to the house as he had all the paperwork, while Mr Tighe stayed in the truck.
Mr Mulvey alleges he was assaulted when he returned to the vehicle. Two other people, who are not before this court, were also there.
Mr Mulvey said he was kicked and punched. A teleporter machine was brought and the back of the lorry was lifted about 4ft off the ground.
Mr Tighe said they were told by Mr Connaughton that they would be "lucky to get out alive."
"He said to us that we had met the devil and he told me he would take my head off and eat it. He said if we were willing to strip we could walk down the road naked,"he added
Mr Tighe said Mr Connaughton told one of the farm workers to bring out a boar and "fire her up". He said the beast was prodded and became agitated and Mr Connaughton asked which of them was man enough to get into the pen.
Mr Tighe said they pleaded with Mr Connaughton who said he would if they got on their knees and recited the Our Father, which they did.
In a statement to gardai, Mr Connaughton alleged he had been assaulted as he was walking down the yard and that his wife suffered a hand injury.
The case continues today.