private SetThrowsExceptionWithNullActionTest ( ) : void | ||
return | void |
public void SetThrowsExceptionWithNullActionTest()
{
var target = new Person();
Action action = () => target.Set(null);
action.ShouldThrow<ArgumentNullException>();
}