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