Mock for non deterministic php functions (e.g. time() or rand())