uname -s
sw_vers -productVersion
Mainly for tests, to not have to adjust call counts for stubs when logic changes