@Test
public void testLookoutServerRegistryFactory() {

    MetricObserver<LookoutMeasurement> logObserver = new LogObserver();
    LookoutServerRegistryFactory factory = new LookoutServerRegistryFactory(
        Lists.newArrayList(logObserver));
    LookoutConfig config = new LookoutConfig();
    LookoutRegistry r = factory.get(config);
    Assert.assertEquals(2, r.getMetricObservers().size());
}