Put a medium-sized pan on medium heat and add the olive oil. Soften the onion and garlic, about 8 minutes, and add the chicken breasts. Stir and brown a little.
Add a pinch of salt to the pan and follow with enough water to just cover the chicken. Put the lid on and cook for around 40 minutes. Skim off any foam that gathers on the top.