Heat the olive oil in a large deep oven-proof frying pan or wide based oven-proof saucepan.
Cook the onions on a medium heat until soft.
Add the garlic and cook for approximately two minutes whilst stirring.
Add the spinach then turn up the heat and immediately add the tinned tomatoes.
Bring to the boil and then reduce the sauce to a simmer whilst adding the salt and sugar.
Add the chickpeas and kidney beans whilst simmering.
Toast the halloumi cheese in a separate dry non-stick pan (no need to add any oil but keep turning the cheese until all the moisture has evaporated and it’s nicely toasted on each side), then add to the bean mix.
Simmer for approximately 15-20 minutes until most of the liquid has reduced. Do not allow it to go too dry and thick – if so, add a splash of water.
Make a well in the bean mix and crack in an egg. Repeat with the remaining eggs.
Cook for 2-3 minutes or if you want the eggs well done put the saucepan under the grill for an additional 1-2 minutes.