### Question:
ProcessUtils { public static String myProcessName(Context context) { if (sProcessName != null) { return sProcessName; } synchronized (sNameLock) { if (sProcessName != null) { return sProcessName; } sProcessName = obtainProcessName(context); return sProcessName; } }  static String myProcessName(Context context); static int getCurrentPid(); static int getCurrentUid(); static boolean isMainProcess(Application application);  }### Answer:
@Test public void myProcessName() { String myProcessName = ProcessUtils.myProcessName(ApplicationProvider.getApplicationContext()); Assert.assertEquals("cn.hikyson.godeye.core", myProcessName); String myProcessName2 = ProcessUtils.myProcessName(ApplicationProvider.getApplicationContext()); Assert.assertEquals("cn.hikyson.godeye.core", myProcessName2); }