Heat oil in a pan and cook garlic and onions until soft, about 2 minutes. Add zucchini, tomatoes and oregano. Cover and let simmer about 5 minutes, until vegetables are soft.
Add beans and cook for another couple of minutes to heat beans thoroughly. Pepper and/or salt may be added, if desired. Spoon over hot rice.
Servings: 4