Set stub using function name to stub static functions easily