def METHOD_NAME(security_center):
    '''
    test roles constructor for success
    '''
    role = security_center.roles._constructor(
        name='Example',
        description='stuff',
        manage_attributes=True,
        can_share=True,
        create_policies=True,
        can_view_logs=False
    )
    assert role == {
        'name': 'Example',
        'description': 'stuff',
        'permManageAttributeSets': 'true',
        'permShareObjects': 'true',
        'permCreatePolicies': 'true',
        'permViewOrgLogs': 'false',
        'permScan': 'none'
    }