Heat the oil in a pan and gently fry the onion and garlic for 5-7 minutes, until translucent. Add the beans and continue to cook for five minutes or until the beans are cooked, but still firm.
Add the cream, season with salt and freshly ground black pepper and continue to cook until the cream is heated through and has reduced slightly, about 3-4 minutes.
Serve as a side dish garnished with chopped parsley.