def METHOD_NAME(self):
    '''
    Note: Weights are defined as the maximum length of all the paths to a node from the rootnodes
    So if a node A is the child of rootnode B, but it's also 7 hops from rootnode C, it's weight
    is going to be 7
    '''
    weights = self.graph.getHierNodeWeights()
    self.assertEqual(weights['Rooty'], 0)
    self.assertEqual(weights['Lefty'], 1)
    self.assertEqual(weights['SonOfLefty'], 2)
    self.assertEqual(weights['LeftysRevenge'], 3)
    self.assertEqual(weights['LeftyTheReboot'], 4)
    self.assertEqual(weights['Backtracker'], 6)
    self.assertEqual(weights['LeftyClone'], 7)
    self.assertEqual(weights['RightyClone'], 7)
    self.assertEqual(weights['Righty'], 1)
    self.assertEqual(weights['SonOfRighty'], 2)
    self.assertEqual(weights['RightyStrikesBack'], 3)
    self.assertEqual(weights['TheEnd'], 4)
    self.assertEqual(weights['OrIsIt'], 5)
    self.assertEqual(weights['TheReboot'], 6)
    self.assertEqual(weights['Nobody'], 7)
    self.assertEqual(weights['Wanted'], 8)