public void NoRestriction() { PublisherWithoutRestriction p = new PublisherWithoutRestriction(); SubscriberWithSynchronousHandler sync = new SubscriberWithSynchronousHandler(); SubscriberWithAsynchronousHandler async = new SubscriberWithAsynchronousHandler(); this.testee.Register(p); this.testee.Register(sync); this.testee.Register(async); }
public void NoRestriction() { PublisherWithoutRestriction p = new PublisherWithoutRestriction(); SubscriberWithSynchronousHandler sync = new SubscriberWithSynchronousHandler(); SubscriberWithAsynchronousHandler asyncHandler = new SubscriberWithAsynchronousHandler(); this.testee.Register(p); this.testee.Register(sync); this.testee.Register(asyncHandler); }