Substituting implementations

local_mock() with_mock()

Mock functions in a package

get_mock_env()

Get environment for mocking