def METHOD_NAME(session, client, jwt):  # pylint:disable=unused-argument
    """Assert get connection endpoint returns connection json."""
    headers = create_header(jwt, [BASIC_USER])
    identifier = 'FM1234567'
    business = factory_business(identifier)
    connection = create_dc_connection(business, is_active=True)
    rv = client.get(f'/api/v2/businesses/{identifier}/digitalCredentials/connection',
                    headers=headers, content_type=content_type)
    assert rv.status_code == HTTPStatus.OK
    assert rv.json.get('invitationUrl') == connection.invitation_url
    assert rv.json.get('connectionId') == connection.connection_id
    assert rv.json.get('isActive') == connection.is_active
    assert rv.json.get('connectionState') == connection.connection_state