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