Objects are mocked, not classes, so static methods are not available. A work-around is toconvert the static method to an instance method of a singleton class.