private GenerateThrowsExceptionWhenReferenceNotAgeTest ( |
||
type | ||
typeSupported | bool | |
min | double | |
max | double | |
return | void |
public void GenerateThrowsExceptionWhenReferenceNotAgeTest(Type type, bool typeSupported, double min, double max)
{
var target = new AgeValueGenerator();
Action action = () => target.Generate(type, "Stuff", null);
action.ShouldThrow<NotSupportedException>();
}