Place olive oil, garlic and rosemary in a 10 in skillet and heat over medium heat until ingredients start to sizzle. Add beans and their liquid and cook, mashing with a wooden spoon or potato masher, until mixture thickens slightly ( it will thicken more as it cools). Transfer to a serving bowl or storage container.