@Test
public void testAddMetricObserver() {

    LookoutRegistry reg = new LookoutRegistry(new LookoutConfig());
    LogObserver logObserver = new LogObserver();
    MetricObserverUtil.addMetricObservers(reg, logObserver);
    Assert.assertTrue(reg.getMetricObservers().contains(logObserver));
}