PidHelper { private PidHelper() { } private  PidHelper(); static long getPid(); static long getPid(RuntimeMXBean runtimeMXBean);  }
@Test public void testPidHelper() { long pid = PidHelper.getPid(); Assert.assertTrue("positive non-zero pid (but was " + pid + ")", pid > 0); }