'Tests str, int, float get converted to NaElement.'

def test_setter_builtin_types(self):

    root = netapp_api.NaElement('root')
    root['e1'] = 'v1'
    root['e2'] = 1
    root['e3'] = 2.0
    root['e4'] = 8
    self.assertEqual(4, len(root.get_children()))
    self.assertEqual('v1', root.get_child_content('e1'))
    self.assertEqual('1', root.get_child_content('e2'))
    self.assertEqual('2.0', root.get_child_content('e3'))
    self.assertEqual('8', root.get_child_content('e4'))
