public void Error_NoDebugWrittenListener_PerformWithoutException ()
		{
			var strategy = new LogStrategyStub ();

			LogService.Initialize(strategy);
			LogService.Error("1", 2, 3);
		}
		public void OnErroWritten_ListenerAttached_EventRaised ()
		{
			var target = new LogStrategyStub ();

			bool eventRaised = false;
			target.ErrorWritten += delegate(object sender, LogWrittenEventArgs e) {
				eventRaised = true;
				Assert.AreEqual(e.Message, "ERROR:1");
			};

			target.WriteError ("ERROR:{0}", 1);
			Assert.IsTrue (eventRaised);
		}
		public void OnWarningWritten_ListenerAttached_EventRaised ()
		{
			var target = new LogStrategyStub ();

			bool eventRaised = false;
			target.WarningWritten += delegate(object sender, LogWrittenEventArgs e) {
				eventRaised = true;
				Assert.AreEqual(e.Message, "WARNING:1");
			};

			target.WriteWarning ("WARNING:{0}", 1);
			Assert.IsTrue (eventRaised);
		}