Otherwise this spec will fail with ``` Mocha::ExpectationError: unexpected invocation: Facter::Util::Resolution.which('uname') ```
Gives the major version of the Java release (ie. Java 1.7.0_71, major version is 7) We also want to specifically return nil when java not present
Facter unit tests to check resolution of Java version