Removed many hasValue methods for specific number types like integer or double as they can be replaced by a generic assertion that uses java.lang.Number as expected type