Description
According to the spec PropertyResolver.getType(Object, int) should throw PropertyNotFoundException when the int is out of bounds or Object is null.
Also PropertyResolver.getType(Object, Object) should throw PropertyNotFoundException when either argument is null.