Mockable static methods