10up/wp_mock — pull request #9 by Giuseppe-Mazzapica (2014-02-15 19:40:36+00:00)
Title: function_exists check in function-mocks.php

Checking for `function_exists` before declaring standard WP functions allow a plugin/theme using WP_Mock to be installed and activated in WP.
Standard testing workflow (run tests without loading WP) isn't affected at all.
Solves https://github.com/10up/wp_mock/issues/6