public void FactoryCanNotBeNull() { Assert.Throws<ArgumentNullException>(() => new AsyncSnapshotableRepository <SnapshotableAggregateRootEntityStub>(null, _unitOfWork, _connection, _configuration, _reader)); }