def METHOD_NAME(self):
    labels = {
        ElasticJobLabel.APP_NAME: "test",
        ElasticJobLabel.REPLICA_TYPE_KEY: NodeType.WORKER,
        ElasticJobLabel.REPLICA_INDEX_KEY: "0",
        ElasticJobLabel.RANK_INDEX_KEY: "0",
    }
    pod = create_pod(labels)
    event_type = "Modified"
    event = {"object": pod, "type": event_type}
    node_event: NodeEvent = _convert_pod_event_to_node_event(event)
    self.assertEqual(node_event.event_type, event_type)
    self.assertEqual(node_event.node.id, 0)
    self.assertEqual(node_event.node.type, NodeType.WORKER)
    self.assertEqual(node_event.node.config_resource.cpu, 1)
    self.assertEqual(node_event.node.config_resource.memory, 10240)