code: public static synchronized void mockStatic(Class<?> type, Class<?>... types) {
          DefaultMockCreator.mock(type, true, false, null, null, (Method[]) null);
          if (types != null && types.length > 0) {
              for (Class<?> aClass : types) {
                  DefaultMockCreator.mock(aClass, true, false, null, null, (Method[]) null);
              }
          }
      }
docs: Enable static mocking for all methods of a class.
  
  @param type the class to enable static mocking