def METHOD_NAME(self):
    """
    This tests the construction of a DataStructs WorkUnit object
    """
    testRunLumi = Run(TEST_RUN_NUMBER, TEST_LUMI)
    testWorkUnit = WorkUnit(taskID=TEST_TASKID, lastUnitCount=TEST_LAST_UNIT_COUNT, fileid=TEST_FILEID,
                            runLumi=testRunLumi)
    # Test the things we set
    self.assertEqual(testWorkUnit['taskid'], TEST_TASKID)
    self.assertEqual(testWorkUnit['last_unit_count'], TEST_LAST_UNIT_COUNT)
    self.assertEqual(testWorkUnit['fileid'], TEST_FILEID)
    self.assertEqual(testWorkUnit['run_lumi'].run, TEST_RUN_NUMBER)
    self.assertCountEqual(testWorkUnit['run_lumi'].lumis, [TEST_LUMI]) if PY3 else self.assertItemsEqual(testWorkUnit['run_lumi'].lumis, [TEST_LUMI])
    # Test the defaults we did not set
    self.assertEqual(testWorkUnit['retry_count'], 0)
    self.assertGreater(testWorkUnit['last_submit_time'], 0)
    self.assertEqual(testWorkUnit['status'], 0)
    self.assertGreaterEqual(testWorkUnit['firstevent'], 0)
    self.assertGreaterEqual(testWorkUnit['lastevent'], 0)
    return