private ThrowsArgumentNullExceptionForNullList ( ) : void | ||
Résultat | void |
public void ThrowsArgumentNullExceptionForNullList()
{
int item = 2;
ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => CollectionExtensions.CanMoveItemUp(null, item));
}