@Test
public void testGetUiConfig() {

    UiConfigurationObject testObject = Environments.getInstance().getUiConfig();
    assertTrue(testObject.getFeatures().get("foo"));
    assertFalse(testObject.getFeatures().get("bar"));
    assertEquals("http://quaz:8080", testObject.getEndpoints().get("quaz"));
}