public void NonMatchingType() { var testee = new ArgumentActionHolder<IBase>(BaseAction); Action action = () => { testee.Execute(3); }; action.ShouldThrow<ArgumentException>(); }