private SetEachListThrowsExceptionWithNullInstanceTest ( ) : void | ||
return | void |
public void SetEachListThrowsExceptionWithNullInstanceTest()
{
List<string> target = null;
Action action = () => target.SetEach(x => { });
action.ShouldThrow<ArgumentNullException>();
}