'Tests NaElement having no children'

def test_getter_child_text(self):

    root = netapp_api.NaElement('root')
    root.set_content('FAKE_CONTENT')
    self.mock_object(root, 'get_child_by_name', return_value=root)
    self.assertEqual('FAKE_CONTENT', root.__getitem__('root'))
