def METHOD_NAME(self):
    apps = dict(testapp=dict(command="echo"))
    parts = {"part1": {"plugin": "nil", "build-attributes": ["enable-patchelf"]}}
    sp = self._get_snap_packaging(
        apps=apps, parts=parts, confinement="strict", type="app", base="core20"
    )
    assembled_env = sp._assemble_runtime_environment()
    # Verify that, since all parts are using patchelf, no LD_LIBRARY_PATH is set
    expected_env = textwrap.dedent(
        """
        export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin${PATH:+:$PATH}"
        """
    ).strip()
    self.assertThat(assembled_env, Equals(expected_env))