this still isn't very interesting, since causing all your external commands to do nothing will probably also cause your actual code to fail.
Simply define functions with the same name as the binaries you call.