private SetEachCollectionThrowsExceptionWithNullInstanceTest ( ) : void | ||
Результат | void |
public void SetEachCollectionThrowsExceptionWithNullInstanceTest()
{
Collection<string> target = null;
Action action = () => target.SetEach(x => { });
action.ShouldThrow<ArgumentNullException>();
}