public void Required_spec203_blackbox_mustNotCallMethodsOnSubscriptionOrPublisherInOnComplete() => BlackboxSubscriberWithoutSetupTest(stage => { var subscriber = CreateSubscriber(); var subscription = new Spec203Subscription(Environment, "OnComplete"); subscriber.OnSubscribe(subscription); subscriber.OnComplete(); Environment.VerifyNoAsyncErrorsNoDelay(); });
public void Required_spec203_mustNotCallMethodsOnSubscriptionOrPublisherInOnComplete() => SubscriberTestWithoutSetup(stage => { var subscription = new Spec203OnCompleteSubscription(this); stage.Probe = stage.CreateWhiteboxSubscriberProbe(_environment); var subscriber = CreateSubscriber(stage.Probe); subscriber.OnSubscribe(subscription); subscriber.OnComplete(); _environment.VerifyNoAsyncErrorsNoDelay(); });