using System;
using NUnit.Framework;
using Rothko.Commands;

namespace Rothko.Tests.Commands
{
	[TestFixture]
	public class LambdaCommandTests
	{
		[Test]
		public void ExecuteShouldCallActionPassedOnConstructor()
		{
			LambdaCommand command = new LambdaCommand(() => Assert.Pass());

			command.Execute();

			Assert.Fail();
		}
	}
}

