public void Setup()
		{
			_consoleMock = new ConsoleMock();
			_userRepositoryMock = new UserRepositoryMock();

			_mainCommandHandlerChain = new MainCommandHandlerChain(_consoleMock.Object, new[] { new CommandHandlerMock(true).Object });
		}
		public void HandleTest()
		{
			Assert.IsTrue(_mainCommandHandlerChain.Handle("Any command is handled").Result);

			_mainCommandHandlerChain = new MainCommandHandlerChain(_consoleMock.Object, new[] { new CommandHandlerMock(false).Object });
			Assert.IsFalse(_mainCommandHandlerChain.Handle("Any command is not handled").Result);

			_mainCommandHandlerChain = new MainCommandHandlerChain(_consoleMock.Object, new[] { new CommandHandlerMock(true, "Error").Object });
			Assert.IsTrue(_mainCommandHandlerChain.Handle("Any command is handled").Result);
			Assert.AreEqual("Error", _consoleMock.WriteLineBuffer[0]);
		}