public SqlEventsStore(IAmAnEventBus bus, IGetDataAccessConfiguration dataAccessConfiguration)
        {
            _bus = bus;
            _dataAccessConfiguration = dataAccessConfiguration;

            _serializerSettings = new JsonSerializerSettings
            {
                TypeNameHandling = TypeNameHandling.Auto
            };
        }
 public InMemoryEventStore(IAmAnEventBus eventBus)
 {
     _eventBus = eventBus;
 }