In a large saucepan, heat oil over medium heat. Add onion, rosemary, and thyme. Cover and cook until onion is soft, about 8 minutes. Add garlic and cook 1 minute more. Stir in broth and drained beans, increase heat to high, and bring to a boil. Reduce heat and simmer 5 minutes.