private GetMinThrowsExceptionWithNullTypeTest ( ) : void | ||
Résultat | void |
public void GetMinThrowsExceptionWithNullTypeTest()
{
var target = new RandomGenerator();
Action action = () => target.GetMin(null);
action.ShouldThrow<ArgumentNullException>();
}