Example #1
0
		public void ShouldPushWarnToSubscriber()
		{
			var log = new PubSubLogger();
			var target = Substitute.For<ILogger>();

			log.RegisterSubscriber(target);

			log.Warn("LOL");

			target.Received().Warn("LOL");
		}