    @Test
    public void getParameters_fromConfigurationFile() throws Exception {

        Properties props = new Properties();
        props.setProperty(TracerParameters.ACCESS_TOKEN, ACCESS_TOKEN);
        props.setProperty(TracerParameters.COMPONENT_NAME, COMPONENT_NAME);
        props.setProperty(TracerParameters.COLLECTOR_CLIENT, COLLECTOR_CLIENT);
        props.setProperty(TracerParameters.COLLECTOR_HOST, COLLECTOR_HOST);
        props.setProperty(TracerParameters.COLLECTOR_PROTOCOL, COLLECTOR_PROTOCOL);
        props.setProperty(TracerParameters.COLLECTOR_PORT, COLLECTOR_PORT);
        System.setProperty(TracerParameters.METRICS_URL, METRICS_URL);
        System.setProperty(TracerParameters.DISABLE_METRICS_REPORTING, DISABLE_METRICS);
        System.setProperty(TracerParameters.HOSTNAME, HOSTNAME);

        File file = null;
        try {
            file = Utils.savePropertiesToTempFile(props);
            System.setProperty(Configuration.CONFIGURATION_FILE_KEY, file.getAbsolutePath());

            assertValidParameters(TracerParameters.getParameters());

        } finally {
            if (file != null)
                file.delete();
        }
    }