public void EnsureSubscriptionListIsEmptyAfterSubscribeAgainAMessage() { var pubSubEvent = new TestablePubSubEvent <string>(); SubscribeExternalActionWithoutReference(pubSubEvent); GC.Collect(); SubscribeExternalActionWithoutReference(pubSubEvent); pubSubEvent.Prune(); Assert.True(pubSubEvent.BaseSubscriptions.Count == 1, "Subscriptionlist is empty"); }