@Test
public void getConfigurationsFromDatabaseTest() {

    Map<String, String> map = new HashMap<>();
    Mockito.doReturn(map).when(configurationDao).getConfiguration(Mockito.eq("management-server"), Matchers.<Map<String, Object>> any());
    Map<String, String> result = spy.getConfigurationsFromDatabase();
    Assert.assertEquals(map, result);
}