public void NextValueWithTypeThrowsExceptionWithNonNumericMinimumTest() { var target = new RandomGenerator(); Action action = () => target.NextValue(typeof(int), Guid.NewGuid().ToString(), 0); action.ShouldThrow<FormatException>(); }