public void NextValueWithTypeThrowsExceptionWithNullMinimumTest() { var target = new RandomGenerator(); Action action = () => target.NextValue(typeof(int), null, 0); action.ShouldThrow<ArgumentNullException>(); }