@Test
public void loadDelegationTokenStringFromDelegationFileTest() throws IOException {

    PowerMockito.mockStatic(ConfigFileReader.class);
    ConfigFileReader.ConfigFile configFile =
            PowerMockito.mock(ConfigFileReader.ConfigFile.class);
    PowerMockito.when(configFile.get("delegation_token_file"))
            .thenReturn("src/test/resources/unit_test_delegation_token_file");
    assertEquals(
            ConfigFileDelegationTokenUtils.parseAndGetToken(configFile),
            "testdelegationToken123456789");
}