def getValue(self, default=Text('')):
        if self.hasText():
            return self.value
        else:
            return default
Sets up the needed objects used throughout the test.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/suds/sax/attribute.py/Attribute.getValue--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/vfs/encrypted_stream_file_entry.py/EncryptedStreamFileEntryTest.setUp