'test object type data'

def testObjectType(self):

    self.cursor.execute(u'\n                                                                select    ObjectCol\n                                                                from    TestObjects\n                                                                where    ObjectCol    is    not    null\n                                                                        and    rownum    <=    1')
    (objValue,) = self.cursor.fetchone()
    self.failUnlessEqual(objValue.type.schema, self.connection.username.upper())
    self.failUnlessEqual(objValue.type.name, u'UDT_OBJECT')
    self.failUnlessEqual(objValue.type.attributes[0].name, 'NUMBERVALUE')
