Saute oil and garlic in a small pan over medium heat for a few minutes,to lightly cook the garlic and then remove from heat.
While it is cooling, add the vinegar, basil. and oregano in a food processor or blender, add salt and pepper.
Combine dressing with beans, mix for an even coating.
Adjust seasoning to taste.
Serve at room temperature.