'Test the get_full_name function.'

def test_should_return_a_valid_branch_name_on_get_full_name(self):

    items = self._create_top_item()
    tree_helper = BranchesTreeHelper()
    result = tree_helper.get_full_name(items[u'child_1'], u'/')
    self.assertEqual(u'child_1', result)
    result = tree_helper.get_full_name(items[u'sub_child_2_2'], u'/')
    self.assertEqual(u'child_2/sub_child_2_2', result)
