Cook the beans in boiling water. Lightly brown an onion in butter, add two tablespoons of flour, stir well and allow to brown. Add the beans with some of their cooking water. Stir well. Lastly, add parsley and garlic.