def METHOD_NAME():
    job = Job()
    job.setOwner("ownerName")
    job.setOwnerGroup("ownerGroup")
    job.setName("jobName")
    job.setJobGroup("jobGroup")
    job.setExecutable("someExe")
    job.setType("jobType")
    job.setDestination("ANY")
    xml = job._toXML()
    with open(join(dirname(__file__), "testWF.xml")) as fd:
        expected = fd.read()
    assert xml == expected
    with open(join(dirname(__file__), "testWFSIO.jdl")) as fd:
        expected = fd.read()
    jdlSIO = job._toJDL(jobDescriptionObject=StringIO(job._toXML()))
    assert jdlSIO == expected