'Prepares the Apache plugin for testing'

def _prepare_configurator(self):

    for k in constants.CLI_DEFAULTS_DEBIAN.keys():
        setattr(self.le_config, ('apache_' + k), constants.os_constant(k))
    self.le_config.apache_handle_modules = self.le_config.apache_handle_mods
    self._configurator = configurator.ApacheConfigurator(config=configuration.NamespaceConfig(self.le_config), name='apache')
    self._configurator.prepare()
