public void Is_Should_Invoke_Action_When_Called() { const string original = "bla"; string expected = null; var actionExpression = new ActionExpression<string>(x => expected = x); actionExpression.Is(original); Assert.AreEqual(original, expected); }