def METHOD_NAME(dom_xml, vhostmd_conf,
                                                         sap_agent):
    dom_xml_before = hooking.read_domxml().toxml()
    vhostmd_before.main(vhostmd_conf)
    assert hooking.read_domxml().toxml() == dom_xml_before