def METHOD_NAME(self):
    data = textwrap.dedent(
        """\
        pkg_postinst() {
            einfo " /bin/ls ${ROOT}etc/init.d/net.* | grep -v '/net.lo$' | xargs -n1 ln -sfvn net.lo"
        }
        pkg_setup() {
            :
        }
    """
    )
    assert "pkg_setup" in "".join(self.get_output(data, funcs="pkg_postinst"))
    data = textwrap.dedent(
        """\
        src_unpack() {
            testExp=$'\177\105\114\106\001\001\001'
        }
        src_install() {
            :
        }
    """
    )
    assert "src_install" in "".join(self.get_output(data, funcs="src_unpack"))