public void Each_should_call_the_provided_action() { var list = new[] { 4 }; bool called = false; list.Each(i => called = true); Assert.True(called); }