public void GenerateValidatesRequestedTypeTest(Type type, bool typeSupported, double min, double max)
{
var target = new NumericValueGenerator();
Action action = () => target.Generate(type, null, null);
if (typeSupported)
{
action.ShouldNotThrow();
}
else
{
action.ShouldThrow<NotSupportedException>();
}
}