Italy’s president testified for three hours yesterday behind closed doors in a Mafia trial over purported negotiations between the state and organised crime to stop terror attacks in the 1990s, an unprecedented commingling of politics, law enforcement and the mob inside the presidential palace.