@Test
public void getVirtualMachineInstanceSuffixTest() {

    Map<String, String> configs = new HashMap<>();
    configs.put("instance.name", "value");
    Mockito.doReturn(configs).when(spy).getConfigurationsFromDatabase();
    String result = spy.getVirtualMachineInstanceSuffix();
    Assert.assertEquals("value", result);
}