RpcRunningState { public static boolean isUnitTestMode() { return unitTestMode; }  static boolean isShuttingDown(); static boolean isUnitTestMode(); static void setUnitTestMode(boolean unitTestMode); static boolean isDebugMode(); static void setDebugMode(boolean debugMode);  }
@Test public void isUnitTestMode() throws Exception { Assert.assertEquals(RpcRunningState.isUnitTestMode(), RpcRunningState.unitTestMode); }