'Returns an appropriate name based on the properties of the unit'

@property
def name(self):

    result = ('Released    ' if self.is_released else 'Unreleased    ')
    if (self.publish_state == WarningMessagesTest.PublishState.NEVER_PUBLISHED):
        result += 'Never    Published    '
    elif (self.publish_state == WarningMessagesTest.PublishState.UNPUBLISHED_CHANGES):
        result += 'Unpublished    Changes    '
    else:
        result += 'Published    '
    result += ('Locked' if self.is_locked else 'Unlocked')
    return result
