@Test
public void testGetBean() {

    val serviceTypeName = metricSourceConfig.metricSourceServiceListFactoryBean().getServiceType().getName();
    assertNotNull(serviceTypeName);
    assertEquals("com.expedia.adaptivealerting.modelservice.metricsource.MetricSource", serviceTypeName);
}