'Test single element serializer with no backport.'

@mock.patch('cinder.objects.base.LOG.debug')
def test_serialize_entity_basic_no_backport(self, log_debug_mock):

    serializer = objects.base.CinderObjectSerializer('1.6')
    primitive = serializer.serialize_entity(self.context, self.obj)
    self.assertEqual('1.2', primitive['versioned_object.version'])
    data = primitive['versioned_object.data']
    self.assertEqual(1, data['integer'])
    self.assertEqual('text', data['text'])
    log_debug_mock.assert_not_called()
