mock static methods