### Question:
MetricManager { @SuppressWarnings("unchecked") public static IMetricManager getIMetricManager() { if (iMetricManager == null) { synchronized (MetricManager.class) { if (iMetricManager == null) { try { Class binderClazz = MetricManager.class.getClassLoader().loadClass(BINDER_CLASS); Method getSingleton = binderClazz.getMethod("getSingleton"); Object binderObject = getSingleton.invoke(null); Method getMetricManager = binderClazz.getMethod("getMetricManager"); iMetricManager = (IMetricManager) getMetricManager.invoke(binderObject); } catch (Exception e) { iMetricManager = NOP_METRIC_MANAGER; } } } } return iMetricManager; }  static Counter getCounter(String group, MetricName name); static BucketCounter getBucketCounters(String group, MetricName name); static Compass getCompass(String group, MetricName name); static void register(String group, MetricName name, Metric metric); @SuppressWarnings("unchecked") static IMetricManager getIMetricManager();  }### Answer:
@Test public void testNOPMetricManager() { Assertions.assertTrue(MetricManager.getIMetricManager() instanceof NOPMetricManager); }