'Tests if invalid data structure raises exception.'

def test_translate_invalid_struct(self):

    root = netapp_api.NaElement('root')
    child = 'random    child    element'
    self.assertRaises(ValueError, root.translate_struct, child)
