public void IgnoringThrowsExceptionWithNullExpressionTest() { var target = Substitute.For<IBuildStrategy>(); Action action = () => target.Ignoring<Person>(null); action.ShouldThrow<ArgumentNullException>(); }