private void SimulateTenEmployerRegisterTheTopic(Subject moneyTopic) { for (int i = 0; i < 10; i++) { Follower employer = new Follower("Employer" + i.ToString()); moneyTopic.Attach(employer); } }
private void SimulateTenBuyerRegisterTheTopic(Subject newTopic) { for (int i = 0; i < 10; i++) { Follower buyer = new Follower("Buyer" + i.ToString()); newTopic.Attach(buyer); } }