def METHOD_NAME(self):
    repository = mock.Mock()
    repository.root_dir = '/root-dir'
    repository.runtime_config = mock.Mock(
        return_value={
            'pacman_args': [
                '--config', '/root-dir/pacman.conf', '-y', '--noconfirm'
            ],
            'command_env': ['env']
        }
    )
    self.manager = PackageManagerPacman(repository)