public void CreateValidatesWhetherTypeIsSupportedTest(Type type, bool supported)
{
var target = new ArrayTypeCreator();
Action action = () => target.Create(type, null, null);
if (supported)
{
action.ShouldNotThrow();
}
else
{
action.ShouldThrow<NotSupportedException>();
}
}