public void EventReaderConfigurationCanNotBeNull() { Assert.Throws<ArgumentNullException>(() => new AsyncRepository<AggregateRootEntityStub>( AggregateRootEntityStub.Factory, new ConcurrentUnitOfWork(), EmbeddedEventStore.Connection, null)); }