public void SetThrowsExceptionWithNullInstanceTest() { object target = null; Action action = () => target.Set(x => { }); action.ShouldThrow<ArgumentNullException>(); }