Heat your oil in a large stockpot or Dutch oven and saute the onion for 3-4 minutes, or until soft.
Stir in the garlic and saute for 1 minute longer.
Add in the beans, broth, and bring to a boil.
Once bubbling, reduce the heat, cover, and simmer for about 15 minutes.
During the last 5 minutes, stir in your pesto sauce and season with sea salt and freshly ground black pepper to your taste.
Serve with parmesan cheese and garnish with fresh basil and lemon wedges.