public TestSetup(TestEnvironment environment, int testBufferSize, long requiredSubscribersSupport, IdentityProcessorVerification <T> verification) : base(environment) { TestBufferSize = testBufferSize; RequiredSubscribersSupport = requiredSubscribersSupport; Tees = Environment.NewManualSubscriber(verification.CreateHelperPublisher(long.MaxValue)); Processor = verification.CreateIdentityProcessor(testBufferSize); Subscribe(Processor); }
public override IPublisher <T> CreateHelperPublisher(long elements) => _processor.CreateHelperPublisher(elements);