If using dried beans, cook according to your preferred method (options below) and the equipment you have. Or you can use canned beans instead - remember to drain and rinse first before using them and follow from Step 5.
Option A: On the stove. Soak beans overnight for 8 hours with 10cm (4 inches) of water covering them. Rinse when ready to cook. Place in a large stockpot with 8 cups of water. Bring to a boil over medium-high heat and then reduce the heat to medium-low, simmering partially covered for 30-40 minutes until they are tender. Drain with a colander when cooked.
Option B: Slow cooker. You can use this method I've linked to here but no need to use the aromatics mentioned as my recipe has tons of flavour. Drain with a colander when cooked. http://cafejohnsonia.com/…/how-to-slow-cooker-black-beans.h…
Option C: Pressure cooker/Instant Pot. Cover with water and cook on high pressure for 28 mins and let the pressure release naturally (don't release manually). Drain with a colander when cooked.
Option D: use canned beans - simply drain and rinse in water
Place 1 tablespoon of the oil in a large saucepan and add the diced onions, heat on medium until onions are softened (approx 7 minutes).
Add the remaining oil, the spices and the garlic and stir for 2 minutes ensuring the garlic does not overcook.
Add the boiled water and then the beans, stirring well to distribute the spices and garlic evenly.
Cook for 5 minutes, add the apple cider vinegar and remove from the heat.
Roughly mash the beans, leave some of the beans whole for texture.This might take a few minutes. This could also be done in a food processor by pulsing briefly, or with a stick/immersion blender. Remember to keep some of the texture of the beans rather than making the mixture smooth.
Garnish with chopped flat leaf parsley and serve immediately. Can also be frozen in individual portion sizes using a muffin tray.