S-48999 refactored configValidation so we can use spies to see if certain functions were called.
S-48999 refactor so we can add the event store validation to the same library.