### Question:
RichContext { public static long getPID() { String processName = java.lang.management.ManagementFactory .getRuntimeMXBean().getName(); return Long.parseLong(processName.split("@")[0]); } RichContext(LoggingEvent event); static long getPID(); String getApplicationName(); static String getHMAC(String msg); @Override String toString();  }### Answer:
@Test public void testGetPID() { assertTrue(RichContext.getPID() > 0); }