@Test
public void testCreateConfigMap() throws Exception {

    JFastCGIPlugin plugin = new JFastCGIPlugin();
    plugin.setConfiguration(conf);
    Map<String, Map<String, String>> configMap = plugin.createConfigMap(conf);
    assertThat(configMap).isNotNull();
    assertThat(configMap).hasSize(5);
    assertThat(configMap.containsKey("DEFAULT"));
    assertThat(configMap.get("DEFAULT")).hasSize(2);
    assertThat(configMap.get("ACLUSTERCONFIG")).hasSize(1);
    assertThat(configMap.get("FILTERINGHEADERS")).hasSize(3);
    assertThat(configMap.get("CONTEXTOVERRIDEEXAMPLE")).hasSize(3);
}