    @Test
    public void testMetaDataUsageDisable() throws IOException {

        Map<String, String> parameters = new HashMap<String, String>();
        parameters.put(OpenstackCloudParameters.AGENT_METADATA_DISABLE, "true");
        prepareAgentProperties("meta_data_noUserData.json", parameters).afterAgentConfigurationLoaded(null);
        Assert.assertTrue(Lo4jBeanAppender.contains("Openstack metadata usage disabled (agent configuration not overridden)"));
        Assert.assertFalse(Lo4jBeanAppender.contains("Detected Openstack instance. Will write parameters from metadata"));
        Assert.assertFalse(Lo4jBeanAppender.contains("Unknow problem on Openstack plugin"));
    }