<testsuites tests="927" failures="0">
    <testsuite name="Ably-tvOS-Tests" tests="927" failures="0" skipped="0" time="1783.6284492015839">
        <properties>
          <property name="Configuration" value="Configuration 1"/>
        </properties>
        <testcase classname="ARTDefaultTests" name="testVersions()" time="0.009034037590026855">
        </testcase>
        <testcase classname="ARTInternalLogTests" name="test_ARTLogDebug" time="0.002303004264831543">
        </testcase>
        <testcase classname="ARTInternalLogTests" name="test_ARTLogError" time="0.0007740259170532227">
        </testcase>
        <testcase classname="ARTInternalLogTests" name="test_ARTLogInfo" time="0.0005040168762207031">
        </testcase>
        <testcase classname="ARTInternalLogTests" name="test_ARTLogVerbose" time="0.00041604042053222656">
        </testcase>
        <testcase classname="ARTInternalLogTests" name="test_ARTLogWarn" time="0.0006990432739257812">
        </testcase>
        <testcase classname="ARTInternalLogTests" name="test_classMethodLogger" time="0.0004819631576538086">
        </testcase>
        <testcase classname="AttachRetryStateTests" name="test_addRetryAttempt()" time="0.004266977310180664">
        </testcase>
        <testcase classname="AttachRetryStateTests" name="test_transitionToAttachingOrSuspendedStateDoesNotResetRetrySequence()" time="0.0013810396194458008">
        </testcase>
        <testcase classname="AttachRetryStateTests" name="test_transitionToNonAttachingOrSuspendedStateResetsRetrySequence()" time="0.0007050037384033203">
        </testcase>
        <testcase classname="AuthTests" name="test__001__should_not_force_token_auth_when_clientId_is_set()" time="4.41615891456604">
        </testcase>
        <testcase classname="AuthTests" name="test__002__should_accept_authURL_response_with_timestamp_argument_as_string()" time="0.5559669733047485">
        </testcase>
        <testcase classname="AuthTests" name="test__003__Basic__should_work_over_HTTPS_only()" time="0.01812601089477539">
        </testcase>
        <testcase classname="AuthTests" name="test__004__Basic__should_send_the_API_key_in_the_Authorization_header()" time="0.21163499355316162">
        </testcase>
        <testcase classname="AuthTests" name="test__005__Basic__should_be_default_when_an_API_key_is_set()" time="0.002301931381225586">
        </testcase>
        <testcase classname="AuthTests" name="test__006__Token__TTL_should_default_to_be_omitted()" time="0.0034990310668945312">
        </testcase>
        <testcase classname="AuthTests" name="test__007__Token__should_URL_query_be_correctly_encoded()" time="0.015347957611083984">
        </testcase>
        <testcase classname="AuthTests" name="test__008__Token__should_omit_capability_field_if_it_is_not_specified()" time="0.18485498428344727">
        </testcase>
        <testcase classname="AuthTests" name="test__009__Token__should_add_capability_field_if_the_user_specifies_it()" time="0.21397709846496582">
        </testcase>
        <testcase classname="AuthTests" name="test__010__Token__token_auth__should_work_over_HTTP()" time="0.4101979732513428">
        </testcase>
        <testcase classname="AuthTests" name="test__011__Token__token_auth__should_work_over_HTTPS()" time="1.1007599830627441">
        </testcase>
        <testcase classname="AuthTests" name="test__012__Token__token_auth__for_REST_requests__should_send_the_token_in_the_Authorization_header()" time="0.7631549835205078">
        </testcase>
        <testcase classname="AuthTests" name="test__013__Token__token_auth__for_Realtime_connections__should_send_the_token_in_the_querystring_as_a_param_named_accessToken()" time="0.2062779664993286">
        </testcase>
        <testcase classname="AuthTests" name="test__014__Token__authentication_method__should_be_default_auth_method_when_options__useTokenAuth_is_set()" time="0.0006120204925537109">
        </testcase>
        <testcase classname="AuthTests" name="test__015__Token__authentication_method__should_be_default_auth_method_when_options__authUrl_is_set()" time="0.0005030632019042969">
        </testcase>
        <testcase classname="AuthTests" name="test__016__Token__authentication_method__should_be_default_auth_method_when_options__authCallback_is_set()" time="0.03266298770904541">
        </testcase>
        <testcase classname="AuthTests" name="test__017__Token__authentication_method__should_be_default_auth_method_when_options__tokenDetails_is_set()" time="0.0005189180374145508">
        </testcase>
        <testcase classname="AuthTests" name="test__018__Token__authentication_method__should_be_default_auth_method_when_options__token_is_set()" time="0.0005869865417480469">
        </testcase>
        <testcase classname="AuthTests" name="test__019__Token__authentication_method__should_be_default_auth_method_when_options__key_is_set()" time="0.013463973999023438">
        </testcase>
        <testcase classname="AuthTests" name="test__020__Token__authentication_method__should_indicate_an_error_and_not_retry_the_request_when_the_server_responds_with_a_token_error_and_there_is_no_way_to_renew_the_token()" time="0.21037304401397705">
        </testcase>
        <testcase classname="AuthTests" name="test__021__Token__authentication_method__should_transition_the_connection_to_the_FAILED_state_when_the_server_responds_with_a_token_error_and_there_is_no_way_to_renew_the_token()" time="2.996851921081543">
        </testcase>
        <testcase classname="AuthTests" name="test__022__Token__authentication_method__on_token_error__reissues_token_and_retries_REST_requests()" time="0.5954079627990723">
        </testcase>
        <testcase classname="AuthTests" name="test__023__Token__authentication_method__in_REST__if_the_token_creation_failed_or_the_subsequent_request_with_the_new_token_failed_due_to_a_token_error__then_the_request_should_result_in_an_error()" time="0.0028499364852905273">
        </testcase>
        <testcase classname="AuthTests" name="test__024__Token__authentication_method__in_Realtime__if_the_token_creation_failed_then_the_connection_should_move_to_the_DISCONNECTED_state_and_reports_the_error()" time="0.004311919212341309">
        </testcase>
        <testcase classname="AuthTests" name="test__025__Token__authentication_method__in_Realtime__if_the_connection_fails_due_to_a_terminal_token_error__then_the_connection_should_move_to_the_FAILED_state_and_reports_the_error()" time="0.5303258895874023">
        </testcase>
        <testcase classname="AuthTests" name="test__026__Token__authentication_method__if_a_request_by_a_realtime_client_to_an_authUrl_results_in_an_HTTP_403_the_client_library_should_transition_to_the_FAILED_state()" time="0.5390970706939697">
        </testcase>
        <testcase classname="AuthTests" name="test__027__Token__authentication_method__if_an_authCallback_results_in_an_HTTP_403_the_client_library_should_transition_to_the_FAILED_state()" time="0.008879899978637695">
        </testcase>
        <testcase classname="AuthTests" name="test__028__Token__authentication_method__local_token_validity_check__should_be_done_if_queryTime_is_true_and_local_time_is_in_sync_with_server()" time="5.723453998565674">
        </testcase>
        <testcase classname="AuthTests" name="test__029__Token__authentication_method__local_token_validity_check__should_NOT_be_done_if_queryTime_is_false_and_local_time_is_NOT_in_sync_with_server()" time="5.805377960205078">
        </testcase>
        <testcase classname="AuthTests" name="test__030__Token__options__should_stop_client_when_useTokenAuth_and_no_key_occurs()" time="0.0023239850997924805">
        </testcase>
        <testcase classname="AuthTests" name="test__031__Token__options__should_stop_client_when_authCallback_and_authUrl_occurs()" time="0.0021420717239379883">
        </testcase>
        <testcase classname="AuthTests" name="test__032__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_request_to_authUrl_fails__if_the_connection_is_CONNECTING__then_the_connection_attempt_should_be_treated_as_unsuccessful()" time="0.30945706367492676">
        </testcase>
        <testcase classname="AuthTests" name="test__033__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_request_to_authUrl_fails__if_the_connection_is_CONNECTED__then_the_connection_should_remain_CONNECTED()" time="1.148000955581665">
        </testcase>
        <testcase classname="AuthTests" name="test__034__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_request_to_authCallback_fails__if_the_connection_is_CONNECTING__then_the_connection_attempt_should_be_treated_as_unsuccessful()" time="0.024374961853027344">
        </testcase>
        <testcase classname="AuthTests" name="test__035__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_request_to_authCallback_fails__if_the_connection_is_CONNECTED__then_the_connection_should_remain_CONNECTED()" time="0.5523660182952881">
        </testcase>
        <testcase classname="AuthTests" name="test__036__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_provided_token_is_in_an_invalid_format__if_the_connection_is_CONNECTING__then_the_connection_attempt_should_be_treated_as_unsuccessful()" time="0.2875950336456299">
        </testcase>
        <testcase classname="AuthTests" name="test__037__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_provided_token_is_in_an_invalid_format__if_the_connection_is_CONNECTED__then_the_connection_should_remain_CONNECTED()" time="0.9816490411758423">
        </testcase>
        <testcase classname="AuthTests" name="test__038__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_attempt_times_out_after_realtimeRequestTimeout__if_the_connection_is_CONNECTING__then_the_connection_attempt_should_be_treated_as_unsuccessful()" time="0.5335290431976318">
        </testcase>
        <testcase classname="AuthTests" name="test__039__Token__options__if_an_attempt_by_the_realtime_client_library_to_authenticate_is_made_using_the_authUrl_or_authCallback__the_attempt_times_out_after_realtimeRequestTimeout__if_the_connection_is_CONNECTED__then_the_connection_should_remain_CONNECTED()" time="2.04816997051239">
        </testcase>
        <testcase classname="AuthTests" name="test__040__Token__token_auth_and_clientId__should_permit_to_be_unauthenticated()" time="0.39947402477264404">
        </testcase>
        <testcase classname="AuthTests" name="test__041__Token__token_auth_and_clientId__should_check_clientId_consistency__on_rest()" time="0.17513000965118408">
        </testcase>
        <testcase classname="AuthTests" name="test__042__Token__token_auth_and_clientId__should_check_clientId_consistency__on_realtime()" time="0.46434104442596436">
        </testcase>
        <testcase classname="AuthTests" name="test__043__Token__token_auth_and_clientId__should_check_clientId_consistency__with_wildcard()" time="0.0026040077209472656">
        </testcase>
        <testcase classname="AuthTests" name="test__044__Token__token_auth_and_clientId__Incompatible_client__with_Realtime__it_should_change_the_connection_state_to_FAILED_and_emit_an_error()" time="0.5552940368652344">
        </testcase>
        <testcase classname="AuthTests" name="test__045__Token__token_auth_and_clientId__Incompatible_client__with_Rest__it_should_result_in_an_appropriate_error_response()" time="0.19151508808135986">
        </testcase>
        <testcase classname="AuthTests" name="test__046__Token__clientId_and_authenticated_clients__should_not_pass_clientId_with_published_message()" time="0.18892109394073486">
        </testcase>
        <testcase classname="AuthTests" name="test__047__Token__clientId_and_authenticated_clients__should_obtain_a_token_if_clientId_is_assigned()" time="0.1917250156402588">
        </testcase>
        <testcase classname="AuthTests" name="test__048__Token__clientId_and_authenticated_clients__should_convenience_clientId_return_a_string()" time="0.0028330087661743164">
        </testcase>
        <testcase classname="AuthTests" name="test__049__Token__clientId_and_authenticated_clients__ClientOptions_clientId_takes_precendence_when_a_clientId_value_is_provided_in_both_ClientOptions_clientId_and_ClientOptions_defaultTokenParams()" time="0.5179169178009033">
        </testcase>
        <testcase classname="AuthTests" name="test__050__Token__clientId_and_authenticated_clients__should_clientId_be_null_or_string()" time="0.0035899877548217773">
        </testcase>
        <testcase classname="AuthTests" name="test__051__Token__clientId_and_authenticated_clients__Auth_clientId_attribute_is_null__identity_should_be_anonymous_for_all_operations()" time="0.36158299446105957">
        </testcase>
        <testcase classname="AuthTests" name="test__052__Token__clientId_and_authenticated_clients__Auth_clientId_attribute_is_null__identity_may_change_and_become_identified()" time="0.5344880819320679">
        </testcase>
        <testcase classname="AuthTests" name="test__053__Token__clientId_and_authenticated_clients__auth_clientId_not_null__when_clientId_attribute_is_assigned_on_client_options()" time="0.0018570423126220703">
        </testcase>
        <testcase classname="AuthTests" name="test__054__Token__clientId_and_authenticated_clients__auth_clientId_not_null__when_tokenRequest_or_tokenDetails_has_clientId_not_null_or_wildcard_string()" time="0.19571101665496826">
        </testcase>
        <testcase classname="AuthTests" name="test__055__Token__clientId_and_authenticated_clients__auth_clientId_not_null__should_CONNECTED_ProtocolMessages_contain_a_clientId()" time="0.5261199474334717">
        </testcase>
        <testcase classname="AuthTests" name="test__056__Token__clientId_and_authenticated_clients__auth_clientId_not_null__client_does_not_have_an_identity_when_a_wildcard_string_____is_present()" time="0.5266441106796265">
        </testcase>
        <testcase classname="AuthTests" name="test__057__requestToken__implicitly_creates_a_TokenRequest_and_requests_a_token()" time="0.195389986038208">
        </testcase>
        <testcase classname="AuthTests" name="test__058__requestToken__ensure_the_message_published_does_not_have_a_clientId()" time="0.47793495655059814">
        </testcase>
        <testcase classname="AuthTests" name="test__059__requestToken__ensure_that_the_message_is_rejected()" time="0.3678860664367676">
        </testcase>
        <testcase classname="AuthTests" name="test__060__requestToken__ensure_the_message_published_with_a_wildcard_____does_not_have_a_clientId()" time="0.4710390567779541">
        </testcase>
        <testcase classname="AuthTests" name="test__061__requestToken__ensure_the_message_published_with_a_wildcard_____has_the_provided_clientId()" time="0.5003700256347656">
        </testcase>
        <testcase classname="AuthTests" name="test__062__requestToken__arguments__should_not_merge_with_the_configured_params_and_options_but_instead_replace_all_corresponding_values__even_when__null_()" time="0.37232494354248047">
        </testcase>
        <testcase classname="AuthTests" name="test__063__requestToken__arguments__should_use_configured_defaults_if_the_object_arguments_are_omitted()" time="0.4753350019454956">
        </testcase>
        <testcase classname="AuthTests" name="test__064__requestToken__authUrl__query_will_provide_a_token_string()" time="0.48668110370635986">
        </testcase>
        <testcase classname="AuthTests" name="test__065__requestToken__authUrl__query_will_provide_a_TokenDetails()" time="0.453266978263855">
        </testcase>
        <testcase classname="AuthTests" name="test__066__requestToken__authUrl__query_will_provide_a_TokenRequest()" time="0.5820690393447876">
        </testcase>
        <testcase classname="AuthTests" name="test__067__requestToken__authUrl__TokenParams_should_take_precedence_over_any_configured_authParams_when_a_name_conflict_occurs()" time="0.09227502346038818">
        </testcase>
        <testcase classname="AuthTests" name="test__068__requestToken__authUrl__should_override_previously_configured_parameters()" time="0.0033758878707885742">
        </testcase>
        <testcase classname="AuthTests" name="test__069__requestToken__authUrl__parameters__should_be_added_to_the_URL_when_auth_method_is_GET()" time="0.0018510818481445312">
        </testcase>
        <testcase classname="AuthTests" name="test__070__requestToken__authUrl__parameters__should_added_on_the_body_request_when_auth_method_is_POST()" time="0.0014830827713012695">
        </testcase>
        <testcase classname="AuthTests" name="test__071__requestToken__should_support_all_TokenParams__using_defaults()" time="0.21542203426361084">
        </testcase>
        <testcase classname="AuthTests" name="test__072__requestToken__should_support_all_TokenParams__overriding_defaults()" time="0.17760097980499268">
        </testcase>
        <testcase classname="AuthTests" name="test__073__requestToken__When_authCallback_option_is_set__it_will_invoke_the_callback__with_a_token_string()" time="0.0015749931335449219">
        </testcase>
        <testcase classname="AuthTests" name="test__074__requestToken__When_authCallback_option_is_set__it_will_invoke_the_callback__with_a_TokenDetails()" time="0.005419015884399414">
        </testcase>
        <testcase classname="AuthTests" name="test__075__requestToken__When_authCallback_option_is_set__it_will_invoke_the_callback__with_a_TokenRequest()" time="0.18298208713531494">
        </testcase>
        <testcase classname="AuthTests" name="test__076__createTokenRequest__should_not_merge_with_the_configured_params_and_options_but_instead_replace_all_corresponding_values__even_when__null_()" time="0.3617269992828369">
        </testcase>
        <testcase classname="AuthTests" name="test__077__createTokenRequest__should_override_defaults_if_AuthOptions_provided()" time="0.2179269790649414">
        </testcase>
        <testcase classname="AuthTests" name="test__078__createTokenRequest__should_use_defaults_if_no_AuthOptions_is_provided()" time="0.19620299339294434">
        </testcase>
        <testcase classname="AuthTests" name="test__079__createTokenRequest__should_replace_defaults_if__nil__option_s_field_passed()" time="0.0018810033798217773">
        </testcase>
        <testcase classname="AuthTests" name="test__080__createTokenRequest__should_use_configured_defaults_if_the_object_arguments_are_omitted()" time="0.1967639923095703">
        </testcase>
        <testcase classname="AuthTests" name="test__081__createTokenRequest__should_create_and_sign_a_TokenRequest()" time="0.01243901252746582">
        </testcase>
        <testcase classname="AuthTests" name="test__082__createTokenRequest__should_support_AuthOptions()" time="0.002129077911376953">
        </testcase>
        <testcase classname="AuthTests" name="test__083__createTokenRequest__should_generate_a_unique_16_plus_character_nonce_if_none_is_provided()" time="0.0011479854583740234">
        </testcase>
        <testcase classname="AuthTests" name="test__084__createTokenRequest__should_provide_capability_has_json_text()" time="0.008450031280517578">
        </testcase>
        <testcase classname="AuthTests" name="test__085__createTokenRequest__should_generate_a_valid_HMAC()" time="0.0032019615173339844">
        </testcase>
        <testcase classname="AuthTests" name="test__086__createTokenRequest__should_respect_all_requirements()" time="0.2687399387359619">
        </testcase>
        <testcase classname="AuthTests" name="test__087__createTokenRequest__should_generate_a_timestamp__from_current_time_if_not_provided()" time="0.0014020204544067383">
        </testcase>
        <testcase classname="AuthTests" name="test__088__createTokenRequest__should_generate_a_timestamp__will_retrieve_the_server_time_if_queryTime_is_true()" time="0.19589602947235107">
        </testcase>
        <testcase classname="AuthTests" name="test__089__createTokenRequest__TTL__should_be_optional()" time="0.0010679960250854492">
        </testcase>
        <testcase classname="AuthTests" name="test__090__createTokenRequest__TTL__should_be_specified_in_milliseconds()" time="0.003188014030456543">
        </testcase>
        <testcase classname="AuthTests" name="test__091__createTokenRequest__TTL__should_be_valid_to_request_a_token_for_24_hours()" time="0.20773303508758545">
        </testcase>
        <testcase classname="AuthTests" name="test__092__authorize__should_always_create_a_token()" time="0.6007050275802612">
        </testcase>
        <testcase classname="AuthTests" name="test__093__authorize__should_create_a_new_token_if_one_already_exist_and_ensure_Token_Auth_is_used_for_all_future_requests()" time="0.4548909664154053">
        </testcase>
        <testcase classname="AuthTests" name="test__094__authorize__should_create_a_token_immediately_and_ensures_Token_Auth_is_used_for_all_future_requests()" time="0.2589648962020874">
        </testcase>
        <testcase classname="AuthTests" name="test__095__authorize__should_supports_all_TokenParams_and_AuthOptions()" time="0.001550912857055664">
        </testcase>
        <testcase classname="AuthTests" name="test__096__authorize__should_use_the_requestToken_implementation()" time="0.19432902336120605">
        </testcase>
        <testcase classname="AuthTests" name="test__097__authorize__should_return_TokenDetails_with_valid_token_metadata()" time="0.18689501285552979">
        </testcase>
        <testcase classname="AuthTests" name="test__098__authorize__should_use_the_configured_Auth_clientId__if_not_null__by_default()" time="0.37074899673461914">
        </testcase>
        <testcase classname="AuthTests" name="test__099__authorize__on_subsequent_authorisations__should_store_the_AuthOptions_with_authUrl()" time="0.586076021194458">
        </testcase>
        <testcase classname="AuthTests" name="test__100__authorize__on_subsequent_authorisations__should_store_the_AuthOptions_with_authCallback()" time="0.0027750730514526367">
        </testcase>
        <testcase classname="AuthTests" name="test__101__authorize__on_subsequent_authorisations__should_not_store_queryTime()" time="0.35135209560394287">
        </testcase>
        <testcase classname="AuthTests" name="test__102__authorize__on_subsequent_authorisations__should_store_the_TokenParams()" time="2.44685697555542">
        </testcase>
        <testcase classname="AuthTests" name="test__103__authorize__on_subsequent_authorisations__should_use_configured_defaults_if_the_object_arguments_are_omitted()" time="0.3928389549255371">
        </testcase>
        <testcase classname="AuthTests" name="test__104__authorize__should_adhere_to_all_requirements_relating_to__TokenParams()" time="0.22016310691833496">
        </testcase>
        <testcase classname="AuthTests" name="test__105__authorize__should_adhere_to_all_requirements_relating_to__authCallback()" time="0.20959997177124023">
        </testcase>
        <testcase classname="AuthTests" name="test__106__authorize__should_adhere_to_all_requirements_relating_to__authUrl()" time="0.27871906757354736">
        </testcase>
        <testcase classname="AuthTests" name="test__107__authorize__should_adhere_to_all_requirements_relating_to__authUrl_with_json()" time="0.7509430646896362">
        </testcase>
        <testcase classname="AuthTests" name="test__108__authorize__should_adhere_to_all_requirements_relating_to__authUrl_returning_TokenRequest_decodes_TTL_as_expected()" time="0.48653602600097656">
        </testcase>
        <testcase classname="AuthTests" name="test__109__authorize__should_adhere_to_all_requirements_relating_to__authUrl_with_plain_text()" time="0.7932090759277344">
        </testcase>
        <testcase classname="AuthTests" name="test__110__authorize__when_TokenParams_and_AuthOptions_are_provided__should_supersede_configured_AuthOptions__using_key__even_if_arguments_objects_are_empty()" time="1.3981410264968872">
        </testcase>
        <testcase classname="AuthTests" name="test__111__authorize__when_TokenParams_and_AuthOptions_are_provided__should_supersede_configured_AuthOptions__using_authUrl__even_if_arguments_objects_are_empty()" time="0.8537949323654175">
        </testcase>
        <testcase classname="AuthTests" name="test__112__authorize__when_TokenParams_and_AuthOptions_are_provided__should_supersede_configured_AuthOptions__using_authCallback__even_if_arguments_objects_are_empty()" time="0.006546974182128906">
        </testcase>
        <testcase classname="AuthTests" name="test__113__authorize__when_TokenParams_and_AuthOptions_are_provided__should_supersede_configured_params_and_options_even_if_arguments_objects_are_empty()" time="0.8718929290771484">
        </testcase>
        <testcase classname="AuthTests" name="test__114__authorize__when_TokenParams_and_AuthOptions_are_provided__example__if_a_client_is_initialised_with_TokenParams_ttl_configured_with_a_custom_value__and_a_TokenParams_object_is_passed_in_as_an_argument_to__authorize_with_a_null_value_for_ttl__then_the_ttl_used_for_every_subsequent_authorization_will_be_null()" time="0.25406503677368164">
        </testcase>
        <testcase classname="AuthTests" name="test__115__authorize__server_time_offset__should_obtain_server_time_once_and_persist_the_offset_from_the_local_clock()" time="0.33548200130462646">
        </testcase>
        <testcase classname="AuthTests" name="test__116__authorize__server_time_offset__should_be_consistent_the_timestamp_request_with_the_server_time()" time="0.18777906894683838">
        </testcase>
        <testcase classname="AuthTests" name="test__117__authorize__server_time_offset__should_be_possible_by_lib_Client_to_discard_the_cached_local_clock_offset()" time="0.342087984085083">
        </testcase>
        <testcase classname="AuthTests" name="test__118__authorize__server_time_offset__should_use_the_local_clock_offset_to_calculate_the_server_time()" time="0.0032399892807006836">
        </testcase>
        <testcase classname="AuthTests" name="test__119__authorize__server_time_offset__should_request_server_time_when_queryTime_is_true_even_if_the_time_offset_is_assigned()" time="0.26989996433258057">
        </testcase>
        <testcase classname="AuthTests" name="test__120__authorize__server_time_offset__should_discard_the_time_offset_in_situations_in_which_it_may_have_been_invalidated()" time="0.005731940269470215">
        </testcase>
        <testcase classname="AuthTests" name="test__121__authorize__two_consecutive_authorizations__using_REST__should_call_each_authorize_callback()" time="0.28717994689941406">
        </testcase>
        <testcase classname="AuthTests" name="test__122__authorize__two_consecutive_authorizations__using_Realtime_and_connection_is_CONNECTING__should_call_each_Realtime_authorize_callback()" time="0.9059170484542847">
        </testcase>
        <testcase classname="AuthTests" name="test__123__authorize__two_consecutive_authorizations__using_Realtime_and_connection_is_CONNECTED__should_call_each_Realtime_authorize_callback()" time="0.751473069190979">
        </testcase>
        <testcase classname="AuthTests" name="test__124__TokenParams__timestamp__if_explicitly_set__should_be_returned_by_the_getter()" time="0.0008609294891357422">
        </testcase>
        <testcase classname="AuthTests" name="test__125__TokenParams__timestamp__if_explicitly_set__the_value_should_stick()" time="0.26078999042510986">
        </testcase>
        <testcase classname="AuthTests" name="test__126__TokenParams__timestamp__object_has_no_timestamp_value_unless_explicitly_set()" time="0.0036469697952270508">
        </testcase>
        <testcase classname="AuthTests" name="test__127__Reauth__should_use_authorize__force__true___to_reauth_with_a_token_with_a_different_set_of_capabilities()" time="1.3707720041275024">
        </testcase>
        <testcase classname="AuthTests" name="test__128__Reauth__for_a_token_change_that_fails_due_to_an_incompatible_token__which_should_result_in_the_connection_entering_the_FAILED_state()" time="0.6518049240112305">
        </testcase>
        <testcase classname="AuthTests" name="test__129__TokenParams__timestamp_should_not_be_a_member_of_any_default_token_params()" time="0.18354201316833496">
        </testcase>
        <testcase classname="AuthTests" name="test__130__TokenRequest__fromJson__rejects_invalid_JSON()" time="0.022883057594299316">
        </testcase>
        <testcase classname="AuthTests" name="test__131__TokenRequest__fromJson__rejects_non_object_JSON()" time="0.000576019287109375">
        </testcase>
        <testcase classname="AuthTests" name="test__132__TokenRequest__fromJson__with_TTL__accepts_a_string__which_should_be_interpreted_as_JSON()" time="0.0017139911651611328">
        </testcase>
        <testcase classname="AuthTests" name="test__133__TokenRequest__fromJson__with_TTL__accepts_a_NSDictionary()" time="0.0007280111312866211">
        </testcase>
        <testcase classname="AuthTests" name="test__134__TokenRequest__fromJson__without_TTL__accepts_a_string__which_should_be_interpreted_as_JSON()" time="0.004965066909790039">
        </testcase>
        <testcase classname="AuthTests" name="test__135__TokenRequest__fromJson__without_TTL__accepts_a_NSDictionary()" time="0.0005949735641479492">
        </testcase>
        <testcase classname="AuthTests" name="test__136__TokenDetails__fromJson__accepts_a_string__which_should_be_interpreted_as_JSON()" time="0.0023050308227539062">
        </testcase>
        <testcase classname="AuthTests" name="test__137__TokenDetails__fromJson__accepts_a_NSDictionary()" time="0.001145005226135254">
        </testcase>
        <testcase classname="AuthTests" name="test__138__TokenDetails__fromJson__rejects_invalid_JSON()" time="0.0009920597076416016">
        </testcase>
        <testcase classname="AuthTests" name="test__139__TokenDetails__fromJson__rejects_non_object_JSON()" time="0.00048804283142089844">
        </testcase>
        <testcase classname="AuthTests" name="test__140__JWT_and_realtime__client_initialized_with_a_JWT_token_in_ClientOptions__with_valid_credentials__pulls_stats_successfully()" time="0.7600789070129395">
        </testcase>
        <testcase classname="AuthTests" name="test__141__JWT_and_realtime__client_initialized_with_a_JWT_token_in_ClientOptions__with_invalid_credentials__fails_to_connect_with_reason__invalid_signature_()" time="0.7835149765014648">
        </testcase>
        <testcase classname="AuthTests" name="test__142__JWT_and_realtime__when_using_authUrl__with_valid_credentials__fetches_a_channels_and_posts_a_message()" time="0.9002490043640137">
        </testcase>
        <testcase classname="AuthTests" name="test__143__JWT_and_realtime__when_using_authUrl__with_wrong_credentials__fails_to_connect_with_reason__invalid_signature_()" time="1.25416100025177">
        </testcase>
        <testcase classname="AuthTests" name="test__144__JWT_and_realtime__when_using_authUrl__when_token_expires__receives_a_40142_error_from_the_server()" time="4.765576958656311">
        </testcase>
        <testcase classname="AuthTests" name="test__145__JWT_and_realtime__when_using_authUrl__when_the_server_sends_and_AUTH_protocol_message__client_reauths_correctly_without_going_through_a_disconnection()" time="5.2154780626297">
        </testcase>
        <testcase classname="AuthTests" name="test__146__JWT_and_realtime__when_using_authCallback__with_valid_credentials__pulls_stats_successfully()" time="0.7298179864883423">
        </testcase>
        <testcase classname="AuthTests" name="test__147__JWT_and_realtime__when_using_authCallback__with_invalid_credentials__fails_to_connect()" time="1.7284519672393799">
        </testcase>
        <testcase classname="AuthTests" name="test__148__JWT_and_realtime__when_token_expires_and_has_a_means_to_renew__reconnects_using_authCallback_and_obtains_a_new_token()" time="4.203527927398682">
        </testcase>
        <testcase classname="AuthTests" name="test__149__JWT_and_realtime__when_the_token_request_includes_a_clientId__the_clientId_is_the_same_specified_in_the_JWT_token_request()" time="0.8683229684829712">
        </testcase>
        <testcase classname="AuthTests" name="test__150__JWT_and_realtime__when_the_token_request_includes_subscribe_only_capabilities__fails_to_publish_to_a_channel_with_subscribe_only_capability()" time="0.8631490468978882">
        </testcase>
        <testcase classname="AuthTests" name="test__151__currentTokenDetails__should_hold_a__TokenDetails__instance_in_which_only_the__token__attribute_is_populated_with_that_token_string()" time="0.191106915473938">
        </testcase>
        <testcase classname="AuthTests" name="test__152__currentTokenDetails__should_be_set_with_the_current_token__if_applicable__on_instantiation_and_each_time_it_is_replaced()" time="0.18011605739593506">
        </testcase>
        <testcase classname="AuthTests" name="test__153__currentTokenDetails__should_be_empty_if_there_is_no_current_token()" time="0.0024809837341308594">
        </testcase>
        <testcase classname="AuthTests" name="test__154__JWT_and_rest__when_the_JWT_token_embeds_an_Ably_token__pulls_stats_successfully()" time="0.8168619871139526">
        </testcase>
        <testcase classname="AuthTests" name="test__155__JWT_and_rest__when_the_JWT_token_embeds_an_Ably_token_and_it_is_requested_as_encrypted__pulls_stats_successfully()" time="0.8220549821853638">
        </testcase>
        <testcase classname="AuthTests" name="test__156__JWT_and_rest__when_the_JWT_token_is_returned_with_application_jwt_content_type__the_client_successfully_connects_and_pulls_stats()" time="0.610725998878479">
        </testcase>
        <testcase classname="AuthTests" name="test__157__JWT_and_rest__when_the_JWT_token_is_returned_with_application_jwt_content_type__the_client_can_request_a_new_token_to_initilize_another_client_that_connects_and_pulls_stats()" time="0.658100962638855">
        </testcase>
        <testcase classname="BackoffRetryDelayCalculatorTests" name="test_delay()" time="0.0055179595947265625">
        </testcase>
        <testcase classname="ChannelOptionsTests" name="test_copyChannelOptions()" time="0.005913972854614258">
        </testcase>
        <testcase classname="ChannelOptionsTests" name="test_copyingFrozenChannelOptions_createsUnfrozenCopy()" time="0.0014040470123291016">
        </testcase>
        <testcase classname="ChannelOptionsTests" name="test_copyingFrozenRealtimeChannelOptions_createsUnfrozenCopy()" time="0.001685023307800293">
        </testcase>
        <testcase classname="ChannelOptionsTests" name="test_copyRealtimeChannelOptions()" time="0.002523064613342285">
        </testcase>
        <testcase classname="ClientInformationTests" name="testAgentIdentifierWithAdditionalAgents_withNilAdditionalAgents()" time="0.014672040939331055">
        </testcase>
        <testcase classname="ClientInformationTests" name="testAgentIdentifierWithAdditionalAgents_withNonNilAdditionalAgents()" time="0.0021970272064208984">
        </testcase>
        <testcase classname="ClientInformationTests" name="testAgents()" time="0.0007899999618530273">
        </testcase>
        <testcase classname="ConnectRetryStateTests" name="test_addRetryAttempt()" time="0.020288944244384766">
        </testcase>
        <testcase classname="ConnectRetryStateTests" name="test_transitionToConnectingOrDisconnectedStateDoesNotResetRetrySequence()" time="0.0011970996856689453">
        </testcase>
        <testcase classname="ConnectRetryStateTests" name="test_transitionToNonConnectingOrDisconnectedStateResetsRetrySequence()" time="0.0014269351959228516">
        </testcase>
        <testcase classname="ContinuousClockTests" name="test_advancedBy()" time="0.5094699859619141">
        </testcase>
        <testcase classname="ContinuousClockTests" name="test_isAfter()" time="0.26206696033477783">
        </testcase>
        <testcase classname="CryptoTest" name="testEncryptAndDecrypt" time="0.002801060676574707">
        </testcase>
        <testcase classname="CryptoTests" name="test__001__Crypto__getDefaultParams__returns_a_complete_CipherParams_instance__using_the_default_values_for_any_field_not_supplied()" time="0.006404995918273926">
        </testcase>
        <testcase classname="CryptoTests" name="test__002__Crypto__getDefaultParams__calculates_a_keyLength_from_the_key__its_size_in_bits_()" time="0.0005669593811035156">
        </testcase>
        <testcase classname="CryptoTests" name="test__003__Crypto__getDefaultParams__should_check_that_keyLength_is_valid_for_algorithm()" time="0.006733894348144531">
        </testcase>
        <testcase classname="CryptoTests" name="test__004__Crypto__getDefaultParams__key_parameter__can_be_a_binary()" time="0.0005019903182983398">
        </testcase>
        <testcase classname="CryptoTests" name="test__005__Crypto__getDefaultParams__key_parameter__can_be_a_base64_encoded_string_with_standard_encoding()" time="0.0004620552062988281">
        </testcase>
        <testcase classname="CryptoTests" name="test__006__Crypto__getDefaultParams__key_parameter__can_be_a_base64_encoded_string_with_URL_encoding()" time="0.0007539987564086914">
        </testcase>
        <testcase classname="CryptoTests" name="test__007__Crypto__generateRandomKey__takes_a_single_length_argument_and_returns_a_binary()" time="0.001345992088317871">
        </testcase>
        <testcase classname="CryptoTests" name="test__008__Crypto__generateRandomKey__takes_no_arguments_and_returns_the_default_algorithm_s_default_length()" time="0.0012639760971069336">
        </testcase>
        <testcase classname="CryptoTests" name="test__009__Crypto__generateHashSHA256__takes_data_and_returns_a_SHA256_digest()" time="0.003255009651184082">
        </testcase>
        <testcase classname="CryptoTests" name="test__010__Crypto__encrypt__should_generate_a_new_IV_every_time_it_s_called__and_should_be_the_first_block_encrypted()" time="0.0009319782257080078">
        </testcase>
        <testcase classname="CryptoTests" name="test__011__Crypto__with_fixtures_from_crypto_data_128_json__should_encrypt_messages_as_expected_in_the_fixtures()" time="0.012135028839111328">
        </testcase>
        <testcase classname="CryptoTests" name="test__012__Crypto__with_fixtures_from_crypto_data_128_json__should_decrypt_messages_as_expected_in_the_fixtures()" time="0.004075884819030762">
        </testcase>
        <testcase classname="CryptoTests" name="test__013__Crypto__with_fixtures_from_crypto_data_256_json__should_encrypt_messages_as_expected_in_the_fixtures()" time="0.0063669681549072266">
        </testcase>
        <testcase classname="CryptoTests" name="test__014__Crypto__with_fixtures_from_crypto_data_256_json__should_decrypt_messages_as_expected_in_the_fixtures()" time="0.05288410186767578">
        </testcase>
        <testcase classname="CryptoTests" name="test__015__Crypto__with_fixtures_from_crypto_data_128_json__manual_decrypt_messages_as_expected_in_the_fixtures()" time="0.0023429393768310547">
        </testcase>
        <testcase classname="CryptoTests" name="test__016__Crypto__with_fixtures_from_crypto_data_256_json__manual_decrypt_messages_as_expected_in_the_fixtures()" time="0.01217198371887207">
        </testcase>
        <testcase classname="DefaultErrorCheckerTests" name="test_isTokenError_statusCode401AndCodeBetween40140And40150()" time="0.00043892860412597656">
        </testcase>
        <testcase classname="DefaultErrorCheckerTests" name="test_isTokenError_statusCode401ButCodeGreaterThanOrEqualTo40150()" time="0.0003949403762817383">
        </testcase>
        <testcase classname="DefaultErrorCheckerTests" name="test_isTokenError_statusCode401ButCodeLessThan40140()" time="0.0005869865417480469">
        </testcase>
        <testcase classname="DefaultErrorCheckerTests" name="test_isTokenError_statusCodeNot401()" time="0.00044596195220947266">
        </testcase>
        <testcase classname="DefaultInternalLogCoreTests" name="test_initWithClientOptions_whenClientOptionsLogLevelIsNone()" time="0.0005229711532592773">
        </testcase>
        <testcase classname="DefaultInternalLogCoreTests" name="test_initWithClientOptions_whenClientOptionsLogLevelIsNotNone()" time="0.0005780458450317383">
        </testcase>
        <testcase classname="DefaultInternalLogCoreTests" name="test_logLevel()" time="0.0005449056625366211">
        </testcase>
        <testcase classname="DefaultInternalLogCoreTests" name="test_logMessage()" time="0.001896977424621582">
        </testcase>
        <testcase classname="DefaultInternalLogCoreTests" name="test_setLogLevel()" time="0.0012110471725463867">
        </testcase>
        <testcase classname="DefaultJitterCoefficientGeneratorTests" name="test_generatesAVarietyOfValues()" time="0.0006229877471923828">
        </testcase>
        <testcase classname="DefaultJitterCoefficientGeneratorTests" name="test_generatesValuesInExpectedRange()" time="0.020125985145568848">
        </testcase>
        <testcase classname="DeltaCodecTests" name="test__001__DeltaCodec__decoding__should_decode_vcdiff_encoded_messages()" time="0.5910810232162476">
        </testcase>
        <testcase classname="DeltaCodecTests" name="test__002__DeltaCodec__decoding__should_fail_and_recover_when_the_vcdiff_messages_are_out_of_order()" time="0.6454379558563232">
        </testcase>
        <testcase classname="DeltaCodecTests" name="test__003__DeltaCodec__decoding__should_recover_when_the_vcdiff_message_decoding_fails()" time="0.6155860424041748">
        </testcase>
        <testcase classname="GCDTests" name="testScheduledBlockHandleDerefsBlockAfterInvoke()" time="0.0010629892349243164">
        </testcase>
        <testcase classname="LogAdapterTests" name="test_logLevel()" time="0.0005570650100708008">
        </testcase>
        <testcase classname="LogAdapterTests" name="test_logMessage()" time="0.0026279687881469727">
        </testcase>
        <testcase classname="LogAdapterTests" name="test_setLogLevel()" time="0.0005009174346923828">
        </testcase>
        <testcase classname="ObjcppTest" name="testPrintVersionInfo" time="0.00048601627349853516">
        </testcase>
        <testcase classname="ObjectLifetimesTests" name="test__001__ObjectLifetimes__user_code_releases_public_object__the_object_s_internal_child_s_back_reference_is_released_too()" time="0.003036022186279297">
        </testcase>
        <testcase classname="ObjectLifetimesTests" name="test__002__ObjectLifetimes__user_code_holds_only_reference_to_public_object_s_public_child__still_can_access_parent_s_internal_object()" time="0.001013040542602539">
        </testcase>
        <testcase classname="ObjectLifetimesTests" name="test__003__ObjectLifetimes__user_code_holds_only_reference_to_public_object_s_public_child__when_it_s_released__schedules_async_release_of_parent_s_internal_object_in_internal_queue()" time="0.030285000801086426">
        </testcase>
        <testcase classname="ObjectLifetimesTests" name="test__004__ObjectLifetimes__when_user_leaves_Realtime_open__still_works()" time="0.6488800048828125">
        </testcase>
        <testcase classname="ObjectLifetimesTests" name="test__005__ObjectLifetimes__when_Realtime_is_closed_and_user_loses_its_reference__channels_don_t_leak()" time="0.506363034248352">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__001__Channel__should_process_all_incoming_messages_and_presence_messages_as_soon_as_a_Channel_becomes_attached()" time="1.0978959798812866">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__002__Channel__should_not_crash_when_an_ATTACH_request_is_responded_with_a_DETACHED()" time="0.41314101219177246">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__003__Channel__EventEmitter__channel_states_and_events__should_implement_the_EventEmitter_and_emit_events_for_state_changes()" time="0.5137510299682617">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__004__Channel__EventEmitter__channel_states_and_events__should_implement_the_EventEmitter_and_emit_events_for_FAILED_state_changes()" time="0.6210949420928955">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__005__Channel__EventEmitter__channel_states_and_events__should_implement_the_EventEmitter_and_emit_events_for_SUSPENDED_state_changes()" time="0.4198470115661621">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__006__Channel__EventEmitter__channel_states_and_events__can_emit_an_UPDATE_event()" time="0.43230199813842773">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__007__Channel__EventEmitter__channel_states_and_events__should_not_emit_detached_event_on_an_already_detached_channel()" time="0.6182260513305664">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__008__Channel__EventEmitter__channel_states_and_events__state_attribute_should_be_the_current_state_of_the_channel()" time="0.4797680377960205">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__009__Channel__EventEmitter__channel_states_and_events__should_contain_an_ErrorInfo_object_with_details_when_an_error_occurs()" time="0.006273984909057617">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__010__Channel__EventEmitter__channel_states_and_events__a_ChannelStateChange_is_emitted_as_the_first_argument_for_every_channel_state_change()" time="0.42662692070007324">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__011a__Channel__EventEmitter__channel_states_and_events__ChannelStateChange_will_contain_a_resumed_boolean_attribute_with_value__true__if_the_bit_flag_RESUMED_was_included()" time="4.908556938171387">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__011b__Channel__EventEmitter__channel_states_and_events__ChannelStateChange_will_contain_a_resumed_boolean_attribute_with_value__true__if_the_bit_flag_RESUMED_was_included_for_recovered_connection()" time="0.852450966835022">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__013__Channel__connection_state__if_the_connection_state_enters_the_CONNECTED_state__then_a_SUSPENDED_channel_will_transition_to_ATTACHING_and_goes_back_to_SUSPNDED_on_timeout()" time="4.187252998352051">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__015__Channel__connection_state__should_attach_successfully_and_remain_attached_after_the_connection_goes_from_SUSPENDED_to_CONNECTED()" time="8.345929980278015">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__016__Channel__connection_state__if_the_connection_state_enters_the_DISCONNECTED_state__it_will_have_no_effect_on_the_channel_states()" time="4.28144097328186">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__017__Channel__connection_state__changes_to_FAILED__ATTACHING_channel_should_transition_to_FAILED()" time="0.0035860538482666016">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__018__Channel__connection_state__changes_to_FAILED__ATTACHED_channel_should_transition_to_FAILED()" time="0.43395698070526123">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__019__Channel__connection_state__changes_to_FAILED__channel_being_released_waiting_for_DETACH_shouldn_t_crash__issue__918_()" time="0.022544026374816895">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__020__Channel__connection_state__changes_to_FAILED__should_immediately_fail_if_not_in_the_connected_state()" time="0.003836989402770996">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__021__Channel__connection_state__changes_to_FAILED__should_keep_the_channels_attached_when_client_reconnected_successfully_and_queue_messages_is_disabled()" time="0.964142918586731">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__022__Channel__connection_state__changes_to_CLOSED__ATTACHING_channel_should_transition_to_DETACHED()" time="0.46897900104522705">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__023__Channel__connection_state__changes_to_CLOSED__ATTACHED_channel_should_transition_to_DETACHED()" time="0.5163589715957642">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__024__Channel__connection_state__changes_to_SUSPENDED__ATTACHING_channel_should_transition_to_SUSPENDED()" time="0.35400402545928955">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__025__Channel__connection_state__changes_to_SUSPENDED__ATTACHED_channel_should_transition_to_SUSPENDED()" time="0.4539719820022583">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__026__Channel__connection_state__changes_to_SUSPENDED__channel_being_released_waiting_for_DETACH_shouldn_t_crash__issue__918_()" time="0.02773594856262207">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__027__Channel__attach__if_already_ATTACHED_or_ATTACHING_nothing_is_done()" time="0.42448198795318604">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__028__Channel__attach__if_the_user_does_not_have_sufficient_permissions_to_attach__then_the_channel_will_transition_to_FAILED_and_set_the_errorReason()" time="0.6174240112304688">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__029__Channel__attach__if_the_channel_is_in_the_FAILED_state__the_attach_request_sets_its_errorReason_to_null__and_proceeds_with_a_channel_attach()" time="0.5094139575958252">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__030__Channel__attach__should_send_an_ATTACH_ProtocolMessage__change_state_to_ATTACHING_and_change_state_to_ATTACHED_after_confirmation()" time="0.47964799404144287">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__031__Channel__attach__should_transition_the_channel_state_to_FAILED_if_the_user_does_not_have_sufficient_permissions()" time="0.6203839778900146">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__032__Channel__attach__should_transition_the_channel_state_to_SUSPENDED_if_ATTACHED_ProtocolMessage_is_not_received()" time="2.412796974182129">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__033__Channel__attach__if_called_with_a_callback_should_call_it_once_attached()" time="0.4361830949783325">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__034__Channel__attach__if_called_with_a_callback_and_already_attaching_should_call_the_callback_once_attached()" time="0.4454820156097412">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__035__Channel__attach__if_called_with_a_callback_and_already_attached_should_call_the_callback_with_nil_error()" time="0.427651047706604">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__036__Channel__attach__if_the_channel_is_in_a_pending_state_ATTACHING__do_the_attach_operation_after_the_completion_of_the_pending_request()" time="0.45290398597717285">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__037__Channel__attach__if_the_channel_is_in_a_pending_state_DETACHING__do_the_attach_operation_after_the_completion_of_the_pending_request()" time="0.5764570236206055">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__038__Channel__attach__a_channel_in_DETACHING_can_actually_move_back_to_ATTACHED_if_it_fails_to_detach()" time="1.453423023223877">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__039__Channel__attach__results_in_an_error_if_the_connection_state_is__CLOSING()" time="0.3534890413284302">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__040__Channel__attach__results_in_an_error_if_the_connection_state_is__CLOSED()" time="0.4242759943008423">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__041__Channel__attach__results_in_an_error_if_the_connection_state_is__SUSPENDED()" time="0.003291010856628418">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__042__Channel__attach__results_in_an_error_if_the_connection_state_is__FAILED()" time="0.011183977127075195">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__043__Channel__attach__happens_when_connection_is_CONNECTED_if_it_s_currently__INITIALIZED()" time="0.43714606761932373">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__044__Channel__attach__happens_when_connection_is_CONNECTED_if_it_s_currently__CONNECTING()" time="0.4284939765930176">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__045__Channel__attach__happens_when_connection_is_CONNECTED_if_it_s_currently__DISCONNECTED()" time="0.90482497215271">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__046__Channel__attach__attach_resume__should_pass_attach_resume_flag_in_attach_message()" time="0.4907100200653076">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__047__Channel__attach__attach_resume__should_have_correct_AttachResume_value()" time="0.42153799533843994">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__048__Channel__attach__attach_resume__should_encode_correctly_the_AttachResume_flag()" time="3.0020159482955933">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__049__Channel__detach__if_state_is_INITIALIZED_or_DETACHED_nothing_is_done()" time="0.5079410076141357">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__050__Channel__detach__if_the_channel_is_in_a_pending_state_DETACHING__do_the_detach_operation_after_the_completion_of_the_pending_request()" time="1.5732479095458984">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__051__Channel__detach__if_the_channel_is_in_a_pending_state_ATTACHING__do_the_detach_operation_after_the_completion_of_the_pending_request()" time="0.4295920133590698">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__052__Channel__detach__results_in_an_error_if_the_connection_state_is_FAILED()" time="0.002853989601135254">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__053__Channel__detach__should_send_a_DETACH_ProtocolMessage__change_state_to_DETACHING_and_change_state_to_DETACHED_after_confirmation()" time="0.526669979095459">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__054__Channel__detach__if_called_with_a_callback_should_call_it_once_detached()" time="0.520063042640686">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__055__Channel__detach__if_called_with_a_callback_and_already_detaching_should_call_the_callback_once_detached()" time="0.5421069860458374">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__056__Channel__detach__if_called_with_a_callback_and_already_detached_should_should_call_the_callback_with_nil_error()" time="0.4964909553527832">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__057__Channel__detach__if_a_DETACHED_is_not_received_within_the_default_realtime_request_timeout__the_detach_request_should_be_treated_as_though_it_has_failed_and_the_channel_will_return_to_its_previous_state()" time="1.446065902709961">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__058__Channel__detach__if_the_channel_state_is_SUSPENDED__the__detach__request_transitions_the_channel_immediately_to_the_DETACHED_state()" time="0.4176609516143799">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__059__Channel__detach__results_in_an_error_if_the_connection_state_is__CLOSING()" time="0.4414210319519043">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__060__Channel__detach__results_in_an_error_if_the_connection_state_is__FAILED()" time="0.45760297775268555">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__061__Channel__detach__happens_when_channel_is_ATTACHED_if_connection_is_currently__INITIALIZED()" time="0.5121420621871948">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__062__Channel__detach__happens_when_channel_is_ATTACHED_if_connection_is_currently__CONNECTING()" time="0.5269229412078857">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__063__Channel__detach__happens_when_channel_is_ATTACHED_if_connection_is_currently__DISCONNECTED()" time="0.9444390535354614">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__064__Channel__publish__should_encode_messages_in_the_same_way_as_the_RestChannel()" time="0.7361770868301392">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__065__Channel__publish__Message_connectionId_should_match_the_current_Connection_id_for_all_published_messages()" time="0.5066989660263062">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__066__Channel__publish__should_provide_an_optional_argument_that_allows_the_clientId_value_to_be_specified()" time="0.48898398876190186">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__067__Channel__publish__should_invoke_callback__when_the_message_is_successfully_delivered()" time="0.49424898624420166">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__068__Channel__publish__should_invoke_callback__upon_failure()" time="1.105916976928711">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__069__Channel__publish__should_invoke_callback__for_all_messages_published()" time="1.4138849973678589">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__070__Channel__publish__Connection_state_conditions__publish_should_not_trigger_an_implicit_attach()" time="0.43666601181030273">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__071__Channel__publish__Connection_state_conditions__if_the_connection_is_CONNECTED_and_the_channel_is__ATTACHED_then_the_messages_should_be_published_immediately()" time="0.5108360052108765">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__072__Channel__publish__Connection_state_conditions__if_the_connection_is_CONNECTED_and_the_channel_is__INITIALIZED_then_the_messages_should_be_published_immediately()" time="0.4593229293823242">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__073__Channel__publish__Connection_state_conditions__if_the_connection_is_CONNECTED_and_the_channel_is__DETACHED_then_the_messages_should_be_published_immediately()" time="0.568572998046875">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__074__Channel__publish__Connection_state_conditions__if_the_connection_is_CONNECTED_and_the_channel_is__ATTACHING_then_the_messages_should_be_published_immediately()" time="0.45557701587677">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__075__Channel__publish__Connection_state_conditions__if_the_connection_is_CONNECTED_and_the_channel_is__DETACHING_then_the_messages_should_be_published_immediately()" time="0.5487409830093384">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__076__Channel__publish__Connection_state_conditions__the_message__should_be_queued_and_delivered_as_soon_as_the_connection_state_returns_to_CONNECTED_if_the_connection_is__INITIALIZED()" time="0.609434962272644">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__077__Channel__publish__Connection_state_conditions__the_message__should_be_queued_and_delivered_as_soon_as_the_connection_state_returns_to_CONNECTED_if_the_connection_is__CONNECTING()" time="0.6006689071655273">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__078__Channel__publish__Connection_state_conditions__the_message__should_be_queued_and_delivered_as_soon_as_the_connection_state_returns_to_CONNECTED_if_the_connection_is__DISCONNECTED()" time="1.094871997833252">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__082__Channel__publish__Connection_state_conditions__will_result_in_an_error_if_the__connection_is_SUSPENDED()" time="0.357698917388916">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__083__Channel__publish__Connection_state_conditions__will_result_in_an_error_if_the__connection_is_CLOSING()" time="0.3773319721221924">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__084__Channel__publish__Connection_state_conditions__will_result_in_an_error_if_the__connection_is_CLOSED()" time="0.44700396060943604">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__085__Channel__publish__Connection_state_conditions__will_result_in_an_error_if_the__connection_is_FAILED()" time="0.35459303855895996">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__086__Channel__publish__Connection_state_conditions__will_result_in_an_error_if_the__channel_is_SUSPENDED()" time="0.4242449998855591">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__087__Channel__publish__Connection_state_conditions__will_result_in_an_error_if_the__channel_is_FAILED()" time="0.44511592388153076">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__088__Channel__publish__message_bundling__Messages_are_delivered_using_a_single_ProtocolMessage_where_possible_by_bundling_in_all_messages_for_that_channel()" time="0.9357481002807617">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__089__Channel__publish__message_bundling__The_resulting_ProtocolMessage_must_not_exceed_the_maxMessageSize()" time="1.2630200386047363">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__090__Channel__publish__message_bundling__should_only_bundle_messages_when_it_respects_all_of_the_constraints()" time="0.46008193492889404">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__091__Channel__publish__message_bundling__should_publish_only_once_on_multiple_explicit_publish_requests_for_a_given_message_with_client_supplied_ids()" time="0.6253539323806763">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__092__Channel__publish__message_bundling__Messages_with_differing_clientId_values_must_not_be_bundled_together__messages_with_different__non_empty__clientIds_are_posted_via_different_protocol_messages()" time="0.932284951210022">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__093__Channel__publish__message_bundling__Messages_with_differing_clientId_values_must_not_be_bundled_together__messages_with_mixed_empty_non_empty_clientIds_are_posted_via_different_protocol_messages()" time="0.9249740839004517">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__094__Channel__publish__message_bundling__Messages_with_differing_clientId_values_must_not_be_bundled_together__messages_bundled_by_the_user_are_posted_in_a_single_protocol_message_even_if_they_have_mixed_clientIds()" time="0.4481959342956543">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__095__Channel__publish__Unidentified_clients_using_Basic_Auth__should_have_the_provided_clientId_on_received_message_when_it_was_published_with_clientId()" time="0.4701460599899292">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__096__Channel__publish__expect_either__an_array_of_Message_objects()" time="0.4618079662322998">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__097__Channel__publish__expect_either__a_name_string_and_data_payload()" time="0.48355603218078613">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__098__Channel__publish__expect_either__allows_name_to_be_null()" time="0.4850410223007202">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__099__Channel__publish__expect_either__allows_data_to_be_null()" time="0.47221100330352783">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__100__Channel__publish__expect_either__allows_name_and_data_to_be_assigned()" time="0.7125229835510254">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__101__Channel__publish__Identified_clients_with_clientId__when_publishing_a_Message_with_the_clientId_attribute_value_set_to_the_identified_client_s_clientId()" time="0.45649802684783936">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__102__Channel__publish__Identified_clients_with_clientId__when_publishing_a_Message_with_a_different_clientId_attribute_value_from_the_identified_client_s_clientId__it_should_reject_that_publish_operation_immediately()" time="0.4505959749221802">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__103__Channel__publish__Identified_clients_with_clientId__message_should_be_published_following_authentication_and_received_back_with_the_clientId_intact()" time="0.6824369430541992">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__104__Channel__publish__Identified_clients_with_clientId__message_should_be_rejected_by_the_Ably_service_and_the_message_error_should_contain_the_server_error()" time="0.6011449098587036">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__105__Channel__publish__Identified_clients_with_clientId__When_publishing_a_Message_with_clientId_set_to_null__should_be_unnecessary_to_set_clientId_of_the_Message_before_publishing_and_have_clientId_value_set_for_the_Message_when_received()" time="0.48978495597839355">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__106__Channel__subscribe__with_no_arguments_subscribes_a_listener_to_all_messages()" time="0.46594107151031494">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__107__Channel__subscribe__with_a_single_name_argument_subscribes_a_listener_to_only_messages_whose_name_member_matches_the_string_name()" time="0.49835705757141113">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__108__Channel__subscribe__with_a_attach_callback_should_subscribe_and_call_the_callback_when_attached()" time="0.5144200325012207">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__109__Channel__subscribe__should_implicitly_attach_the_channel_if_options_attachOnSubscribe_is_true()" time="0.7865999937057495">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__109b__Channel__subscribe__should_not_implicitly_attach_the_channel_if_options_attachOnSubscribe_is_false()" time="1.0263320207595825">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__110__Channel__subscribe__should_result_in_an_error_if_channel_is_in_the_FAILED_state_and_options_attachOnSubscribe_is_true()" time="0.014055013656616211">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__110b__Channel__subscribe__should_not_result_in_an_error_if_channel_is_in_the_FAILED_state_and_options_attachOnSubscribe_is_false()" time="1.0619100332260132">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__111__Channel__subscribe__should_exist_ensuring_published_messages_are_not_echoed_back_to_the_subscriber_when_echoMessages_is_false()" time="1.6282830238342285">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__112__Channel__subscribe__should_deliver_the_message_even_if_there_is_an_error_while_decoding__using_crypto_data_128()" time="0.48090696334838867">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__113__Channel__subscribe__should_deliver_the_message_even_if_there_is_an_error_while_decoding__using_crypto_data_256()" time="0.4464520215988159">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__114__Channel__subscribe__message_cannot_be_decoded_or_decrypted__should_deliver_with_encoding_attribute_set_indicating_the_residual_encoding_and_error_should_be_emitted()" time="0.48256802558898926">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__115__Channel__unsubscribe__with_no_arguments_unsubscribes_the_provided_listener_to_all_messages_if_subscribed()" time="0.4623919725418091">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__116__Channel__unsubscribe__with_a_single_name_argument_unsubscribes_the_provided_listener_if_previously_subscribed_with_a_name_specific_subscription()" time="0.47019505500793457">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__117__Channel__history__should_support_all_the_same_params_as_Rest()" time="0.5621559619903564">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__118__Channel__history__should_return_a_PaginatedResult_page()" time="0.6215909719467163">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__119__Channel__history__should_retrieve_all_available_messages()" time="0.887444019317627">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__120__Channel__history__attached_channel_may_receive_an_additional_ATTACHED_ProtocolMessage()" time="0.4298640489578247">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__121__Channel__history__If_an_ERROR_ProtocolMessage_is_received_for_this_channel_then_the_channel_should_immediately_transition_to_the_FAILED_state__the_errorReason_should_be_set_and_an_error_should_be_emitted_on_the_channel()" time="0.4471859931945801">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__122__Channel__history__should_not_emit_messages_to_subscribers_if_the_channel_is_in_any_state_other_than_ATTACHED()" time="3.7008469104766846">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__123__Channel__history__supports_the_param_untilAttach__should_be_false_as_default()" time="0.002412080764770508">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__124__Channel__history__supports_the_param_untilAttach__should_invoke_an_error_when_the_untilAttach_is_specified_and_the_channel_is_not_attached()" time="0.01105797290802002">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__125__Channel__history__supports_the_param_untilAttach__where_value_is_true__should_pass_the_querystring_param_fromSerial_with_the_serial_number_assigned_to_the_channel()" time="0.6307520866394043">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__126__Channel__history__supports_the_param_untilAttach__where_value_is_false__should_pass_the_querystring_param_fromSerial_with_the_serial_number_assigned_to_the_channel()" time="0.6607010364532471">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__127__Channel__history__supports_the_param_untilAttach__should_retrieve_messages_prior_to_the_moment_that_the_channel_was_attached()" time="1.2402459383010864">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__128__Channel__history__if_the_channel_receives_a_server_initiated_DETACHED_message_when__the_channel_is_in_the_ATTACHED_states__an_attempt_to_reattach_the_channel_should_be_made_immediately_by_sending_a_new_ATTACH_message_and_the_channel_should_transition_to_the_ATTACHING_state_with_the_error_emitted_in_the_ChannelStateChange_event()" time="0.4228159189224243">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__129__Channel__history__if_the_channel_receives_a_server_initiated_DETACHED_message_when__the_channel_is_in_the_SUSPENDED_state__an_attempt_to_reattach_the_channel_should_be_made_immediately_by_sending_a_new_ATTACH_message_and_the_channel_should_transition_to_the_ATTACHING_state_with_the_error_emitted_in_the_ChannelStateChange_event()" time="1.3910809755325317">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__130__Channel__history__if_the_channel_receives_a_server_initiated_DETACHED_message_when__if_the_attempt_to_re_attach_fails_the_channel_will_transition_to_the_SUSPENDED_state_and_the_error_will_be_emitted_in_the_ChannelStateChange_event()" time="2.4518760442733765">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__131__Channel__history__if_the_channel_receives_a_server_initiated_DETACHED_message_when__if_the_channel_was_already_in_the_ATTACHING_state__the_channel_will_transition_to_the_SUSPENDED_state_and_the_error_will_be_emitted_in_the_ChannelStateChange_event()" time="0.4449819326400757">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__131b__Channel__if_the_channel_receives_a_server_initiated_DETACHED_message_and_if_the_attempt_to_reattach_fails_then_the_channel_will_transition_to_SUSPENDED_state_with_periodic_reattach_with_channelRetryTimeout()" time="12.71341598033905">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__132__Channel__history__if_the_channel_receives_a_server_initiated_DETACHED_message_when__if_the_connection_is_no_longer_CONNECTED__then_the_automatic_attempts_to_re_attach_the_channel_must_be_cancelled()" time="1.5210119485855103">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__133__Channel__history__Channel_options__setOptions__should_send_an_ATTACH_message_with_params___modes_if_the_channel_is_attached()" time="0.8654680252075195">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__134__Channel__history__Channel_options__setOptions__should_send_an_ATTACH_message_with_params___modes_if_the_channel_is_attaching()" time="0.46247899532318115">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__135__Channel__history__Channel_options__setOptions__should_success_immediately_if_channel_is_not_attaching_or_attached()" time="0.0016530752182006836">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__136__Channel__history__Channel_options__setOptions__should_fail_if_the_attach_moves_to_FAILED()" time="0.5947771072387695">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__137__Channel__history__Channel_options__setOptions__should_fail_if_the_attach_moves_to_DETACHED()" time="0.4138150215148926">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__138__Channel__crypto__if_configured_for_encryption__channels_encrypt_and_decrypt_messages__data()" time="1.1779839992523193">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__139__message_attributes__if_the_message_does_not_contain_an_id__it_should_be_set_to_protocolMsgId_index()" time="0.4590749740600586">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__140__ChannelOptions__options_provided_when_instantiating_a_channel_should_be_frozen()" time="0.01256406307220459">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__200__channel_serial_is_updated_whenever_a_protocol_message_with_either_message_presence_or_attached_actions_is_received_in_a_channel()" time="0.5768330097198486">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__201__channel_serial_is_cleared_whenever_a_channel_entered_into_detached_suspended_or_failed_state()" time="0.6708869934082031">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__202__Channel__attach__protocol_message_channelSerial_must_be_set_to_channelSerial_of_the_most_recent_protocol_message_or_omitted_if_no_previous_protocol_message_received()" time="1.0559090375900269">
        </testcase>
        <testcase classname="RealtimeClientChannelTests" name="test__Channel_options__setOptions__shouldUpdateOptionsOfRestChannel()" time="0.34536194801330566">
        </testcase>
        <testcase classname="RealtimeClientChannelsTests" name="test__001__Channels__should_exist_methods_to_check_if_a_channel_exists_or_iterate_through_the_existing_channels()" time="0.008195996284484863">
        </testcase>
        <testcase classname="RealtimeClientChannelsTests" name="test__002__Channels__get__should_create_a_new_Channel_if_none_exists_or_return_the_existing_one()" time="0.0045850276947021484">
        </testcase>
        <testcase classname="RealtimeClientChannelsTests" name="test__003__Channels__get__should_be_possible_to_specify_a_ChannelOptions()" time="0.006943106651306152">
        </testcase>
        <testcase classname="RealtimeClientChannelsTests" name="test__004__Channels__get__accessing_an_existing_Channel_with_options_should_update_the_options_and_then_return_the_object()" time="0.0021649599075317383">
        </testcase>
        <testcase classname="RealtimeClientChannelsTests" name="test__005__Channels__release__should_release_a_channel()" time="1.1599479913711548">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__001__Connection__should_connect_automatically()" time="0.36965906620025635">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__002__Connection__should_connect_manually()" time="2.4844460487365723">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__003__Connection__API_version_param_must_be_included_in_all_connections()" time="0.004401087760925293">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__004__Connection__Library_and_version_param__agent__should_include_the__Ably_Agent__header_value()" time="0.3542419672012329">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__005__Connection__basic_operations_should_work_simultaneously()" time="1.309209942817688">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__006__Connection__should_have_an_opened_websocket_connection_and_received_a_CONNECTED_ProtocolMessage()" time="0.3609650135040283">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__007__Connection__should_make_a_new_connection_with_a_new_transport_instance_if_the_state_is_CLOSING()" time="0.711759090423584">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__008__Connection__it_should_make_sure_that__when_the_CLOSED_ProtocolMessage_arrives_for_the_old_connection__it_doesn_t_affect_the_new_one()" time="0.707738995552063">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__009__Connection__should_enter_FAILED_state_when_API_key_is_invalid()" time="0.36255204677581787">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__010__Connection__attributes_within_ConnectionDetails_should_be_used_as_defaults()" time="0.34206998348236084">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__011__Connection__should_disconnect_the_transport_when_no_activity_exist()" time="5.156757950782776">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__012__Connection__the_client_may_receive_a_CONNECTED_ProtocolMessage_from_Ably_at_any_point_and_should_emit_an_UPDATE_event()" time="0.9104429483413696">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__013__Connection__should_set_the_Connection_reason_attribute_based_on_the_Error_member_of_the_CONNECTED_ProtocolMessage()" time="0.5437510013580322">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__014__Connection__should_not_move_to_FAILED_if_received_DISCONNECT_with_an_error()" time="0.366455078125">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__015__Connection__should_abort_reconnection_with_new_token_if_the_server_has_requested_it_to_authorize_and_after_it_the_connection_has_been_closed()" time="0.43744003772735596">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__016__Connection__ConnectionDetails__maxMessageSize_overrides_the_default_maxMessageSize()" time="0.36338305473327637">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__017__Connection__url__should_connect_to_the_default_host()" time="0.005627036094665527">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__018__Connection__url__should_connect_with_query_string_params()" time="0.3534330129623413">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__019__Connection__url__should_connect_with_query_string_params_including_clientId()" time="0.5532920360565186">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__020__Connection__event_emitter__should_emit_events_for_state_changes()" time="1.2682709693908691">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__021__Connection__event_emitter__should_never_emit_a_ConnectionState_event_for_a_state_equal_to_the_previous_state()" time="0.6977640390396118">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__021b__Connection__event_emitter__should_never_emit_a_ConnectionState_event_for_a_state_equal_to_the_previous_state_CONNECTING()" time="0.3664790391921997">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__022__Connection__event_emitter__should_emit_states_on_a_new_connection()" time="0.36443305015563965">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__023__Connection__event_emitter__should_emit_states_when_connection_is_closed()" time="0.4261209964752197">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__024__Connection__event_emitter__should_have_the_current_state()" time="0.35240495204925537">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__025__Connection__event_emitter__should_have_a_ConnectionStateChange_as_first_argument_for_every_connection_state_change()" time="0.3601139783859253">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__026__Connection__event_emitter__should_have_the_reason_which_contains_an_ErrorInfo()" time="0.357464075088501">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__027__Connection__event_emitter__any_state_change_triggered_by_a_ProtocolMessage_that_contains_an_Error_member_should_populate_the_Reason_property()" time="0.5634779930114746">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__028__Connection__ACK_and_NACK__should_expect_either_an_ACK_or_NACK_to_confirm__successful_receipt_and_acceptance_of_message()" time="0.5271660089492798">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__029__Connection__ACK_and_NACK__should_expect_either_an_ACK_or_NACK_to_confirm__successful_receipt_and_acceptance_of_presence()" time="0.5130850076675415">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__030__Connection__ACK_and_NACK__should_expect_either_an_ACK_or_NACK_to_confirm__message_failure()" time="1.0032199621200562">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__031__Connection__ACK_and_NACK__should_expect_either_an_ACK_or_NACK_to_confirm__presence_failure()" time="0.5233650207519531">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__032__Connection__ACK_and_NACK__ProtocolMessage__should_contain_unique_serially_incrementing_msgSerial_along_with_the_count()" time="1.0594019889831543">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__033__Connection__ACK_and_NACK__ProtocolMessage__should_continue_incrementing_msgSerial_serially_if_the_connection_resumes_successfully()" time="5.508118987083435">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__034__Connection__ACK_and_NACK__ProtocolMessage__should_reset_msgSerial_serially_if_the_connection_does_not_resume()" time="1.7263720035552979">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__035__Connection__ACK_and_NACK__should_trigger_the_failure_callback_for_the_remaining_pending_messages_if__connection_is_closed()" time="2.6165040731430054">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__036__Connection__ACK_and_NACK__should_trigger_the_failure_callback_for_the_remaining_pending_messages_if__connection_state_enters_FAILED()" time="1.4906460046768188">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__038__Connection__connection_id__should_be_null_until_connected()" time="0.3604609966278076">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__039__Connection__connection_id__should_have_unique_IDs()" time="0.7029629945755005">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__040__Connection__connection_key__should_be_null_until_connected()" time="0.35998499393463135">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__041__Connection__connection_key__should_have_unique_connection_keys()" time="0.5422060489654541">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__045__Connection__close__if_CONNECTING__do_the_operation_once_CONNECTED()" time="0.4459059238433838">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__046__Connection__close__if_CONNECTED__should_send_a_CLOSE_action__change_state_to_CLOSING_and_receive_a_CLOSED_action()" time="0.40549302101135254">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__047__Connection__close__should_transition_to_CLOSED_action_when_the_close_process_timeouts()" time="0.44648897647857666">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__048__Connection__close__transitions_to_the_CLOSING_state_and_then_to_the_CLOSED_state_if_the_transport_is_abruptly_closed()" time="0.43954193592071533">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__049__Connection__close__if_DISCONNECTED__aborts_the_retry_and_moves_immediately_to_CLOSED()" time="1.9639639854431152">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__050__Connection__close__if_SUSPENDED__aborts_the_retry_and_moves_immediately_to_CLOSED()" time="1.9484670162200928">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__051__Connection__ping__fails_if_in_the_INITIALIZED__SUSPENDED__CLOSING__CLOSED_or_FAILED_state()" time="0.8903650045394897">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__052__Connection__ping__should_send_a_ProtocolMessage_with_action_HEARTBEAT_and_expects_a_HEARTBEAT_message_in_response()" time="0.4351159334182739">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__053__Connection__ping__should_fail_if_a_HEARTBEAT_ProtocolMessage_is_not_received_within_the_default_realtime_request_timeout()" time="3.560070037841797">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__054__Connection__connection_request_fails__on_DISCONNECTED_after_CONNECTED__should_not_emit_error_with_a_renewable_token()" time="2.899786949157715">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__055__Connection__connection_request_fails__on_token_error_while_CONNECTING__reissues_token_and_reconnects()" time="5.367537021636963">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__056__Connection__connection_request_fails__should_transition_to_disconnected_when_the_token_renewal_fails()" time="2.3631969690322876">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__057__Connection__connection_request_fails__should_transition_to_Failed_state_because_the_token_is_invalid_and_not_renewable()" time="3.7205469608306885">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__058__Connection__connection_request_fails__connection_attempt_should_fail_if_not_connected_within_the_default_realtime_request_timeout()" time="0.5355730056762695">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__059__Connection__connection_request_fails__connection_attempt_fails_for_any_recoverable_reason__for_example_a_timeout()" time="13.976629972457886">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__059b__Connection__connection_request_fails__connection_attempt_fails_for_any_recoverable_reason__for_example_an_hostUnreachable_transport_error()" time="19.42385196685791">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__060__Connection__connection_request_fails__connection_state_has_been_in_the_DISCONNECTED_state_for_more_than_the_default_connectionStateTtl_should_change_the_state_to_SUSPENDED()" time="1.0782300233840942">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__061__Connection__connection_request_fails__should_change_the_state_to_SUSPENDED_when_the_connection_state_has_been_in_the_DISCONNECTED_state_for_more_than_the_connectionStateTtl()" time="13.23433792591095">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__062__Connection__connection_request_fails__on_CLOSE_the_connection_should_stop_connection_retries()" time="4.040568947792053">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__064__Connection__connection_failures_once_CONNECTED__if_a_Connection_transport_is_disconnected_unexpectedly_or_if_a_token_expires__then_the_Connection_manager_will_immediately_attempt_to_reconnect()" time="1.8853780031204224">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__065__Connection__connection_failures_once_CONNECTED__should_recover_from_disconnection_and_messages_should_be_delivered_once_the_connection_is_resumed()" time="0.9649479389190674">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__066__Connection__connection_failures_once_CONNECTED__ACK_and_NACK_responses_for_published_messages_can_only_ever_be_received_on_the_transport_connection_on_which_those_messages_were_sent()" time="0.8832030296325684">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__067__Connection__connection_failures_once_CONNECTED__reconnects_to_the_websocket_endpoint_with_additional_querystring_params__resume_is_the_private_connection_key_from_the_most_recent_CONNECTED_ProtocolMessage_received()" time="0.83473801612854">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__068a__Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__CONNECTED_ProtocolMessage_with_the_same_connectionId_as_the_current_client__and_no_error()" time="0.8156989812850952">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__068b__Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__CONNECTED_ProtocolMessage_with_the_same_connectionId_as_the_current_client__and_no_error()" time="0.9414240121841431">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__068c__Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__CONNECTED_ProtocolMessage_with_the_same_connectionId_as_the_current_client__and_no_error()" time="10.92265498638153">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__069__Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__CONNECTED_ProtocolMessage_with_the_different_connectionId_than_the_current_client_and_an_non_fatal_error()" time="0.9802290201187134">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__071__Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__ERROR_ProtocolMessage_indicating_a_fatal_error_in_the_connection()" time="0.5280129909515381">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__072__Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__should_resume_the_connection_after_an_auth_renewal()" time="5.135146975517273">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__073__Connection__connection_failures_once_CONNECTED__when_a_connection_is_resumed__the_connection_key_may_change_and_will_be_provided_in_the_first_CONNECTED_ProtocolMessage_connectionDetails()" time="0.9331600666046143">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__074__Connection__connection_failures_once_CONNECTED__when_connection__ttl_plus_idle_interval__period_has_passed_since_last_activity__uses_a_new_connection()" time="6.2388739585876465">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__075__Connection__connection_failures_once_CONNECTED__when_connection__ttl_plus_idle_interval__period_has_passed_since_last_activity__reattaches_to_the_same_channels_after_a_new_connection_has_been_established()" time="6.417302966117859">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__076__Connection__connection_failures_once_CONNECTED__when_connection__ttl_plus_idle_interval__period_has_NOT_passed_since_last_activity__uses_the_same_connection()" time="0.7874660491943359">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__077__Connection__connection_failures_once_CONNECTED__DISCONNECTED_message_contains_a_token_error__if_the_token_is_renewable_then_error_should_not_be_emitted()" time="1.9723470211029053">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__078__Connection__connection_failures_once_CONNECTED__DISCONNECTED_message_contains_a_token_error__and_the_library_does_not_have_a_means_to_renew_the_token__the_connection_will_transition_to_the_FAILED_state()" time="2.405730962753296">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__079__Connection__connection_failures_once_CONNECTED__DISCONNECTED_message_contains_a_token_error__should_transition_to_disconnected_when_the_token_renewal_fails_and_the_error_should_be_emitted()" time="2.857793927192688">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__080__Connection__Connection_recovery__connection_state_should_recover_explicitly_with_a_recover_key()" time="1.4190340042114258">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__082__Connection__Connection_recovery__when_a_connection_is_successfully_recovered__Connection_id_will_be_identical_to_the_id_of_the_connection_that_was_recovered_and_Connection_key_will_always_be_updated_to_the_ConnectionDetails_connectionKey_provided_in_the_first_CONNECTED_ProtocolMessage()" time="0.6752399206161499">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__085__Connection__Connection_recovery__should_set_internal_message_serial_to_component_in_recovery_key()" time="0.4804260730743408">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__086__Connection__Connection_recovery__library_should_create_channel_with_corresponding_serial_in_given_recovery_key()" time="0.7566360235214233">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__086a__Connection__Host_Fallback__failing_connections_with_custom_endpoint_should_result_in_an_error_immediately()" time="0.10301101207733154">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__086b__Connection__Host_Fallback__failing_connections_with_custom_port_should_result_in_an_error_immediately()" time="0.1097249984741211">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__086c__Connection__Host_Fallback__failing_connections_with_custom_tlsPort_should_result_in_an_error_immediately()" time="0.11182093620300293">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__087__Connection__Host_Fallback__failing_connections_with_custom_endpoint_should_result_in_time_outs()" time="0.10458099842071533">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__089__Connection__Host_Fallback__applies_when_an_array_of_ClientOptions_fallbackHosts_is_provided()" time="1.2406929731369019">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__089b__Connection__Host_Fallback__applies_when_deprecated_fallbackHostsUseDefault_option_is_set_to_true()" time="0.3596919775009155">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__090__Connection__Connection_recovery__library_provides_additional_querystring_when_recover_is_provided()" time="0.8180650472640991">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__090__Connection__Host_Fallback__should_not_use_an_alternative_host_when_the_client_receives_a_bad_request()" time="1.1192889213562012">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__091__Connection__Host_Fallback__every_connection_is_first_attempted_to_the_primary_host_realtime_ably_io_prod()" time="0.9998149871826172">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__091__Connection__Host_Fallback__every_connection_is_first_attempted_to_the_primary_host_realtime_ably_io_sandbox()" time="1.133668065071106">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__092__Connection__Host_Fallback__should_retry_hosts_in_random_order_after_checkin_if_an_internet_connection_is_available_prod()" time="1.2214080095291138">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__092__Connection__Host_Fallback__should_retry_hosts_in_random_order_after_checkin_if_an_internet_connection_is_available_sandbox()" time="1.2702540159225464">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__093__Connection__Host_Fallback__doesn_t_try_fallback_host_if_Internet_connection_check_fails()" time="0.10543406009674072">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__094__Connection__Host_Fallback__should_retry_custom_fallback_hosts_in_random_order_after_checkin_if_an_internet_connection_is_available()" time="1.4629369974136353">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__095__Connection__Host_Fallback__won_t_use_fallback_hosts_feature_if_an_empty_array_is_provided()" time="0.1072080135345459">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__096__Connection__Host_Fallback__client_is_connected_to_a_fallback_host_endpoint_should_do_HTTP_requests_to_the_same_data_centre()" time="0.5904449224472046">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__097__Connection__Host_Fallback__should_use_an_alternative_host_when___hostUnreachable()" time="0.3837190866470337">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__098__Connection__Host_Fallback__should_use_an_alternative_host_when___requestTimeout()" time="0.6055669784545898">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__099__Connection__Host_Fallback__should_use_an_alternative_host_when___hostInternalError_code__501()" time="0.3796769380569458">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__100__Connection__Host_Fallback__should_move_to_disconnected_when_there_s_no_internet__with_NSPOSIXErrorDomain_with_code_57()" time="0.371906042098999">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__101__Connection__Host_Fallback__should_move_to_disconnected_when_there_s_no_internet__with_NSPOSIXErrorDomain_with_code_50()" time="0.35704195499420166">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__102__Connection__Host_Fallback__should_move_to_disconnected_when_there_s_no_internet__with_any_kCFErrorDomainCFNetwork()" time="0.3405740261077881">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__103a__Connection__Transport_disconnected_side_effects__should_resend_any_ProtocolMessage_by_processing_connection_wide_pending_messages()" time="0.9614590406417847">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__103b__Connection__Transport_disconnected_side_effects_message_serial_for_pending_message_must_remain_the_same_that_is_awaiting_a_ACK_NACK()" time="1.5425869226455688">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__103c__Connection__Transport_disconnected_side_effects_message_must_be_assigned_a_new_msgSerial_from_the_internal_msgSerial()" time="1.56333589553833">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__104__Connection__Transport_disconnected_side_effects__should_resend_the_ATTACH_message_if_there_are_any_pending_channels()" time="0.8845639228820801">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__106__Connection__Operating_System_events_for_network_internet_connectivity_changes__should_immediately_attempt_to_connect_if_the_operating_system-indicates_that_the_underlying_internet_connection_is_now_available_when_DISCONNECTED_or_SUSPENDED()" time="0.3704749345779419">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__106_b__Connection__Operating_System_events_for_network_internet_connectivity_changes__should_restart_the_pending_connection_attempt_if_the_operating_system-indicates_that_the_underlying_internet_connection_is_now_available_when_CONNECTING()" time="0.709542989730835">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__107__Connection__Operating_System_events_for_network_internet_connectivity_changes__Ably_can_request_that_a_connected_client_re_authenticates_by_sending_the_client_an_AUTH_ProtocolMessage()" time="0.9276189804077148">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__108__Connection__Operating_System_events_for_network_internet_connectivity_changes__re_authenticate_and_resume_the_connection_when_the_client_is_forcibly_disconnected_following_a_DISCONNECTED_message_containing_an_error_code_greater_than_or_equal_to_40140_and_less_than_40150()" time="5.179240942001343">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__109__Connection__Operating_System_events_for_network_internet_connectivity_changes__should_immediately_change_the_state_to_DISCONNECTED_if_the_operating_system-indicates_that_the_underlying_internet_connection_is_no_longer_available__when_CONNECTING()" time="0.026470065116882324">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__110__Connection__Connection_recovery__connection_recovery_key_is_correctly_constructed_from_defined_parts()" time="0.5313950777053833">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__110__Connection__Operating_System_events_for_network_internet_connectivity_changes__should_immediately_change_the_state_to_DISCONNECTED_if_the_operating_system-indicates_that_the_underlying_internet_connection_is_no_longer_available__when_CONNECTED()" time="0.360387921333313">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__111__Connection__Connection_recovery__connection_recovery_key_is_properly_serializing_any_unicode_channel_name()" time="0.5373289585113525">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__111__Connection__with_fixture_messages__should_encode_and_decode_fixture_messages_as_expected()" time="6.797864079475403">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__112__Connection__Connection_recovery__connection_recovery_key_is_null_when_connection_is_in_invalid_state()" time="0.4204369783401489">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__112__Connection__with_fixture_messages__should_send_messages_through_raw_JSON_POST_and_retrieve_equal_messages_through_MsgPack_and_JSON()" time="0.9287750720977783">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__113__Connection__Connection_recovery__connection_recovery_key_is_null_when_connection_is_in_suspended_state()" time="0.3334989547729492">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__113__Connection__with_fixture_messages__should_send_messages_through_MsgPack_and_JSON_and_retrieve_equal_messages_through_raw_JSON_GET()" time="12.445429921150208">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__114__Connection__Connection_recovery__connection_recovery_key_is_null_when_connection_is_in_failed_state()" time="0.35590600967407227">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__139__Connection__connection_id_and_key__should_be_nil_when_sdk_is_in_CLOSING_and_CLOSED_states()" time="0.4089510440826416">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__140__Connection__connection_id_and_key__should_be_nil_when_sdk_is_in_SUSPENDED_state()" time="0.33572399616241455">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__141__Connection__connection_id_and_key__should_be_nil_when_sdk_is_in_FAILED_state()" time="0.3519411087036133">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__200a__Connection__Connection_recovery__failures_system-response_to_unrecoverable_token_error()" time="0.8843830823898315">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__200b__Connection__Connection_recovery__failures_system-response_to_unrecoverable_token_error()" time="1.3879109621047974">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__200c__Connection__Connection_recovery__failures_system-response_to_unrecoverable_token_error()" time="1.3983510732650757">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__201__Connection__Connection_recovery__failures_once_CONNECTED__System_s_response_to_a_resume_request__CONNECTED_ProtocolMessage_with_the_different_connectionId_than_the_current_client_and_an_non_fatal_error()" time="0.7273449897766113">
        </testcase>
        <testcase classname="RealtimeClientConnectionTests" name="test__202__Connection__Connection_recovery__failures_with_any_other_fatal_error_in_the_connection()" time="0.8952239751815796">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__002__Presence__should_receive_all_250_members()" time="125.7505099773407">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__003__Presence__should_be_used_a_PresenceMap_to_maintain_a_list_of_members()" time="50.588976979255676">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__004__Presence__callback_can_be_provided_that_will_be_called_upon_success()" time="0.5316190719604492">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__005__Presence__callback_can_be_provided_that_will_be_called_upon_failure()" time="0.619454026222229">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__006__Presence__should_also_ensure_that_using_updateClient_has_no_side_effects_on_a_client_that_has_entered_normally_using_Presence_enter()" time="0.9847559928894043">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__007__Presence__should_indicate_an_error_if_the_client_is_identified_and_has_a_valid_clientId_and_the_clientId_argument_does_not_match_the_client_s_clientId()" time="0.5901739597320557">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__008__Presence__Presence_syncComplete_returns_true_if_the_initial_SYNC_operation_has_completed()" time="125.68371999263763">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__010__Presence__ProtocolMessage_bit_flag__when_members_are_present()" time="125.70716106891632">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__011__Presence__realtime_system-reserves_the_right_to_initiate_a_sync_of_the_presence_members_at_any_point_once_a_channel_is_attached__should_do_a_new_sync_whenever_a_SYNC_ProtocolMessage_is_received_with_a_channel_attribute_and_a_new_sync_sequence_identifier_in_the_channelSerial_attribute()" time="1.0689420700073242">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__012__Presence__realtime_system-reserves_the_right_to_initiate_a_sync_of_the_presence_members_at_any_point_once_a_channel_is_attached__when_a_SYNC_is_sent_with_no_channelSerial_attribute_then_the_sync_data_is_entirely_contained_within_that_ProtocolMessage()" time="0.5202831029891968">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__013__Presence__PresenceMap_has_existing_members_when_a_SYNC_is_started__should_ensure_that_members_no_longer_present_on_the_channel_are_removed_from_the_local_PresenceMap_once_the_sync_is_complete()" time="1.5611649751663208">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__014__Presence__PresenceMap_has_existing_members_when_a_SYNC_is_started__should_emit_a_LEAVE_event_for_each_existing_member_if_the_PresenceMap_has_existing_members_when_an_ATTACHED_message_is_received_without_a_HAS_PRESENCE_flag()" time="0.5048420429229736">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__015__Presence__subscribe__with_no_arguments_should_subscribe_a_listener_to_all_presence_messages()" time="2.040216088294983">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__016__Presence__unsubscribe__with_no_arguments_unsubscribes_the_listener_if_previously_subscribed_with_an_action_specific_subscription()" time="0.002333998680114746">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__017__Presence__Channel_state_change_side_effects__if_a_channel_enters_the_ATTACHED_state_then_all_queued_presence_messages_will_be_sent_immediately_and_a_presence_SYNC_may_be_initiated()" time="1.002837061882019">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__018__Presence__Channel_state_change_side_effects__if_the_channel_enters_the_FAILED_state__all_queued_presence_messages_should_fail_immediately()" time="0.004747986793518066">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__019__Presence__Channel_state_change_side_effects__if_the_channel_enters_the_FAILED_state__should_clear_the_PresenceMap_including_local_members_and_does_not_emit_any_presence_events()" time="0.4958209991455078">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__020__Presence__Channel_state_change_side_effects__if_the_channel_enters_the_DETACHED_state__all_queued_presence_messages_should_fail_immediately()" time="0.003670930862426758">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__021__Presence__Channel_state_change_side_effects__if_the_channel_enters_the_DETACHED_state__should_clear_the_PresenceMap_including_local_members_and_does_not_emit_any_presence_events()" time="0.5788290500640869">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__022__Presence__Channel_state_change_side_effects__channel_enters_the_SUSPENDED_state__all_queued_presence_messages_should_fail_immediately()" time="0.0032100677490234375">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__023__Presence__Channel_state_change_side_effects__channel_enters_the_SUSPENDED_state__members_map_is_preserved_and_only_members_that_changed_between_ATTACHED_states_should_result_in_presence_events()" time="4.616970062255859">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__024__Presence__enter__should_enter_the_current_client__optionally_with_the_data_provided()" time="0.6053789854049683">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__025__Presence__unsubscribe__with_a_single_action_argument_unsubscribes_the_provided_listener_to_all_presence_messages_for_that_action()" time="0.002707958221435547">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__026__Presence__subscribe__should_implicitly_attach_the_channel_if_options_attachOnSubscribe_is_true()" time="0.7094910144805908">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__026b__Presence__subscribe__should_not_implicitly_attach_the_channel_if_options_attachOnSubscribe_is_false()" time="1.0703949928283691">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__027__Presence__subscribe__should_result_in_an_error_if_the_channel_is_in_the_FAILED_state_and_options_attachOnSubscribe_is_true()" time="0.008072972297668457">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__027b__Presence__subscribe__should_not_result_in_an_error_if_the_channel_is_in_the_FAILED_state_and_options_attachOnSubscribe_is_false()" time="1.068534016609192">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__028__Presence__subscribe__should_result_in_an_error_if_the_channel_moves_to_the_FAILED_state()" time="0.004907011985778809">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__029__Presence__subscribe__with_a_single_action_argument()" time="1.5144909620285034">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__030__Presence__enter__optionally_a_callback_can_be_provided_that_is_called_for_success()" time="0.5917359590530396">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__031__Presence__enter__optionally_a_callback_can_be_provided_that_is_called_for_failure()" time="0.4815469980239868">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__032__Presence__enter__entering_without_an_explicit_PresenceMessage_clientId_should_implicitly_use_the_clientId_of_the_current_connection()" time="0.5807269811630249">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__033__Presence__enter__should_result_in_an_error_immediately_if_the_connection_state_is_connected_and_the_client_is_anonymous()" time="0.3536200523376465">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__033__Presence__enter__should_result_in_an_error_immediately_if_the_connection_state_is_connected_and_the_client_is_wildcard()" time="0.3532921075820923">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__034__Presence__enter__should_result_in_an_error_immediately_if_the_channel_is_DETACHED()" time="0.5063159465789795">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__035__Presence__enter__should_result_in_an_error_immediately_if_the_channel_is_FAILED()" time="0.001922011375427246">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__036__Presence__enter__should_result_in_an_error_if_Ably_service_determines_that_the_client_is_unidentified()" time="0.48945391178131104">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__037__Presence__update__should_update_the_data_for_the_present_member_with_a_value()" time="0.6814080476760864">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__038__Presence__update__should_update_the_data_for_the_present_member_with_null()" time="0.5935500860214233">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__039__Presence__update__should_enter_current_client_into_the_channel_if_the_client_was_not_already_entered()" time="0.48058998584747314">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__040__Presence__update__optionally_a_callback_can_be_provided_that_is_called_for_success()" time="0.5014749765396118">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__041__Presence__update__optionally_a_callback_can_be_provided_that_is_called_for_failure()" time="0.0024329423904418945">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__042__Presence__update__update_without_an_explicit_PresenceMessage_clientId_should_implicitly_use_the_clientId_of_the_current_connection()" time="1.0034760236740112">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__043__Presence__leave__should_leave_the_current_client_from_the_channel_and_the_data_will_be_updated_with_the_value_provided()" time="0.7291829586029053">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__044__Presence__leave__should_leave_the_current_client_with_no_data()" time="0.5745849609375">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__045__Presence__PresenceMap__all_incoming_presence_messages_must_be_compared_for_newness_with_the_matching_member_already_in_the_PresenceMap()" time="1.0131210088729858">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__047__Presence__PresenceMap__if_action_of_UPDATE_arrives__it_should_be_added_to_the_presence_map_with_the_action_set_to_PRESENT()" time="0.9982280731201172">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__048__Presence__PresenceMap__if_action_of_PRESENT_arrives__it_should_be_added_to_the_presence_map_with_the_action_set_to_PRESENT()" time="0.9299740791320801">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__049__Presence__PresenceMap__if_a_SYNC_is_not_in_progress__then_when_a_presence_message_with_an_action_of_LEAVE_arrives__that_memberKey_should_be_deleted_from_the_presence_map__if_present()" time="10.526593923568726">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__050__Presence__PresenceMap__if_a_SYNC_is_in_progress__then_when_a_presence_message_with_an_action_of_LEAVE_arrives__it_should_be_stored_in_the_presence_map_with_the_action_set_to_ABSENT()" time="10.470209002494812">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__051__Presence__PresenceMap__any_incoming_presence_message_that_passes_the_newness_check_should_be_emitted_on_the_Presence_object__with_an_event_name_set_to_its_original_action()" time="0.5035759210586548">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__052__Presence__PresenceMap__compare_for_newness__split_the_id_of_both_presence_messages()" time="51.064709067344666">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__053__Presence__PresenceMap__compare_for_newness__presence_message_has_a_connectionId_which_is_not_an_initial_substring_of_its_id__compares_them_by_timestamp_numerically()" time="51.05237603187561">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__054__Presence__PresenceMap__all_presence_messages_from_a_SYNC_must_also_be_compared_for_newness_in_the_same_way_as_they_would_from_a_PRESENCE__discard_members_where_messages_have_arrived_before_the_SYNC()" time="10.423272013664246">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__056__Presence__enter__should_result_in_an_error_if_the_client_does_not_have_required_presence_permission()" time="0.6010470390319824">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__057__Presence__update__should_result_in_an_error_immediately_if_the_client_is_anonymous()" time="0.4933270215988159">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__058__Presence__update__should_result_in_an_error_immediately_if_the_channel_is_DETACHED()" time="0.4850809574127197">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__059__Presence__update__should_result_in_an_error_immediately_if_the_channel_is_FAILED()" time="0.004730939865112305">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__060__Presence__update__should_result_in_an_error_if_the_client_does_not_have_required_presence_permission()" time="0.601032018661499">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__061__Presence__update__should_result_in_an_error_if_Ably_service_determines_that_the_client_is_unidentified()" time="0.5048218965530396">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__062__Presence__leave__optionally_a_callback_can_be_provided_that_is_called_for_success()" time="0.9938310384750366">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__063__Presence__leave__optionally_a_callback_can_be_provided_that_is_called_for_failure()" time="0.5771139860153198">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__064__Presence__leave__should_raise_an_error_if_client_is_not_present()" time="0.5073809623718262">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__065__Presence__leave__entering_without_an_explicit_PresenceMessage_clientId_should_implicitly_use_the_clientId_of_the_current_connection()" time="0.9948679208755493">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__066__Presence__leave__if_the_client_is_not_currently_ENTERED__Ably_will_respond_with_an_ACK_and_the_request_will_succeed()" time="2.004267930984497">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__067__Presence__enter__implicitly_attaches_the_Channel()" time="0.5026099681854248">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__068__Presence__enter__should_result_in_an_error_if_the_channel_is_in_the_FAILED_state()" time="0.004227042198181152">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__069__Presence__enter__should_result_in_an_error_if_the_channel_is_in_the_DETACHED_state()" time="0.5035659074783325">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__070__Presence__leave__should_result_in_an_error_immediately_if_the_client_is_anonymous()" time="0.4946579933166504">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__071__Presence__leave__should_result_in_an_error_immediately_if_the_channel_is_DETACHED()" time="0.5190019607543945">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__072__Presence__leave__should_result_in_an_error_immediately_if_the_channel_is_FAILED()" time="0.5127660036087036">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__073__Presence__leave__should_result_in_an_error_if_the_client_does_not_have_required_presence_permission()" time="0.6188429594039917">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__074__Presence__leave__should_result_in_an_error_if_Ably_service_determines_that_the_client_is_unidentified()" time="0.500277042388916">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__078__Presence__enter__optional_data_can_be_included_when_entering_a_channel()" time="0.9948630332946777">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__079__Presence__enter__should_emit_the_data_attribute_in_the_LEAVE_event_when_data_is_provided_when_entering_but_no_data_is_provided_when_leaving()" time="1.0138911008834839">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__080__Presence__private_and_internal_PresenceMap_containing_only_members_that_match_the_current_connectionId__any_ENTER__PRESENT__UPDATE_or_LEAVE_event_that_matches_the_current_connectionId_should_be_applied_to_this_object()" time="0.7272539138793945">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__081__Presence__private_and_internal_PresenceMap_containing_only_members_that_match_the_current_connectionId__all_members_belonging_to_the_current_connection_are_published_as_a_PresenceMessage_on_the_Channel_by_the_server_irrespective_of_whether_the_client_has_permission_to_subscribe_or_the_Channel_is_configured_to_publish_presence_events()" time="0.7065479755401611">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__084__Presence__enterClient__should_implicitly_attach_the_Channel()" time="0.5459738969802856">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__085__Presence__enterClient__should_result_in_an_error_if_the_channel_is_in_the_FAILED_state()" time="0.0030889511108398438">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__086__Presence__enterClient__should_result_in_an_error_if_the_channel_moves_to_the_FAILED_state()" time="0.004758000373840332">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__087__Presence__updateClient__should_implicitly_attach_the_Channel()" time="0.49277496337890625">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__088__Presence__updateClient__should_result_in_an_error_if_the_channel_is_in_the_FAILED_state()" time="0.0017859935760498047">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__089__Presence__updateClient__should_result_in_an_error_if_the_channel_moves_to_the_FAILED_state()" time="0.0018739700317382812">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__090__Presence__leaveClient__should_implicitly_attach_the_Channel()" time="0.5119649171829224">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__091__Presence__leaveClient__should_result_in_an_error_if_the_channel_is_in_the_FAILED_state()" time="0.004066944122314453">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__092__Presence__leaveClient__should_result_in_an_error_if_the_channel_moves_to_the_FAILED_state()" time="0.003029942512512207">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__093__Presence__Connection_state_conditions__all_presence_messages_are_published_immediately_if_the_connection_is_CONNECTED()" time="0.48868095874786377">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__094__Presence__Connection_state_conditions__all_presence_messages_will_be_queued_and_delivered_as_soon_as_the_connection_state_returns_to_CONNECTED()" time="0.9818249940872192">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__095__Presence__Connection_state_conditions__all_presence_messages_will_be_lost_if_queueMessages_has_been_explicitly_set_to_false()" time="0.43418705463409424">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__096__Presence__Connection_state_conditions__should_result_in_an_error_if_the_connection_state_is_INITIALIZED_and_queueMessages_has_been_explicitly_set_to_false()" time="0.001589059829711914">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__097__Presence__Connection_state_conditions__should_result_in_an_error_if_the_connection_state_is__suspended()" time="0.431973934173584">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__098__Presence__Connection_state_conditions__should_result_in_an_error_if_the_connection_state_is__closed()" time="0.5058220624923706">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__099__Presence__Connection_state_conditions__should_result_in_an_error_if_the_connection_state_is__failed()" time="0.4396989345550537">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__100__Presence__get__should_return_a_list_of_current_members_on_the_channel()" time="75.57013690471649">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__101__Presence__get__should_implicitly_attach_the_channel()" time="0.5020719766616821">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__102__Presence__get__should_result_in_an_error_if_the_channel_is_in_the_FAILED_state()" time="0.0020200014114379883">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__103__Presence__get__should_result_in_an_error_if_the_channel_moves_to_the_FAILED_state()" time="0.004186034202575684">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__104__Presence__get__should_result_in_an_error_if_the_channel_is_in_the_DETACHED_state()" time="0.5015619993209839">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__105__Presence__get__should_result_in_an_error_if_the_channel_moves_to_the_DETACHED_state()" time="60.272814989089966">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__106__Presence__get__query__waitForSync_should_be_true_by_default()" time="0.000720977783203125">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__107__Presence__get__If_the_Channel_is_in_the_SUSPENDED_state_then__by_default__results_in_an_error()" time="0.0035500526428222656">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__108__Presence__get__If_the_Channel_is_in_the_SUSPENDED_state_then__if_waitForSync_is_true__results_in_an_error()" time="0.004310011863708496">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__109__Presence__get__If_the_Channel_is_in_the_SUSPENDED_state_then__if_waitForSync_is_false__returns_the_members_in_the_current_PresenceMap()" time="0.01252603530883789">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__110__Presence__get__Query__set_of_params___waitForSync_is_true__should_wait_until_SYNC_is_complete_before_returning_a_list_of_members()" time="75.77863097190857">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__111__Presence__get__Query__set_of_params___waitForSync_is_false__should_return_immediately_the_known_set_of_presence_members()" time="75.60058093070984">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__112__Presence__get__Query__set_of_params___should_return_members_filtered_by_clientId()" time="0.5248380899429321">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__113__Presence__get__Query__set_of_params___should_return_members_filtered_by_connectionId()" time="51.06279003620148">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__114__Presence__history__should_support_all_the_same_params_as_Rest()" time="0.4751119613647461">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__115__Presence__history__should_return_a_PaginatedResult_page()" time="75.43994307518005">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__116__Presence__enterClient__enters_into_presence_on_a_channel_on_behalf_of_another_clientId()" time="0.6080329418182373">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__117__Presence__enterClient__should_be_present_all_the_registered_members_on_a_presence_channel()" time="1.0271880626678467">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__118__Presence__presence_message_attributes__if_the_presence_message_does_not_contain_an_id__it_should_be_set_to_protocolMsgId_index()" time="0.3460279703140259">
        </testcase>
        <testcase classname="RealtimeClientPresenceTests" name="test__200__Presence__PresenceMap_should_perform_re_entry_whenever_a_channel_moves_into_the_attached_state_and_presence_message_consists_of_enter_action_with_client_id_and_data()" time="1.563399076461792">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__001__RealtimeClient__All_WebSocket_connections_should_include_the_current_API_version()" time="0.43786394596099854">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__002__RealtimeClient__should_have_access_to_the_underlying_Connection_object()" time="0.008199930191040039">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__003__RealtimeClient__should_provide_access_to_the_underlying_Channels_object()" time="0.002357959747314453">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__004__RealtimeClient__should_use_the_configured_timeouts_specified()" time="6.670574069023132">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__005__RealtimeClient__background_behaviour()" time="2.290210008621216">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__006__RealtimeClient__should_accept_acks_with_different_order()" time="1.0205820798873901">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__007__RealtimeClient__transport_should_guarantee_the_incoming_message_order()" time="0.37765800952911377">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__008__RealtimeClient__subscriber_should_receive_messages_in_the_same_order_in_which_they_have_been_sent()" time="0.542570948600769">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__009__RealtimeClient__should_dispatch_in_user_queue_when_removing_an_observer()" time="0.0037120580673217773">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__010__RealtimeClient__should_never_register_any_connection_listeners_for_internal_use_with_the_public_EventEmitter()" time="0.42001092433929443">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__011__RealtimeClient__should_never_register_any_message_and_channel_listeners_for_internal_use_with_the_public_EventEmitter()" time="0.8971329927444458">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__012__RealtimeClient__moves_to_DISCONNECTED_on_an_unexpected_normal_WebSocket_close()" time="1.0499680042266846">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__013__RealtimeClient__options__should_support_the_same_options_as_the_Rest_client()" time="0.3606679439544678">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__014__RealtimeClient__options__should_echoMessages_option_be_true_by_default()" time="0.0012360811233520508">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__015__RealtimeClient__options__should_autoConnect_option_be_true_by_default()" time="0.0013240575790405273">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__016__RealtimeClient__options__should_attempt_to_recover_the_connection_state_if_recover_string_is_assigned()" time="0.6951559782028198">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__017__RealtimeClient__options__should_modify_the_realtime_endpoint_host_if_realtimeHost_is_assigned()" time="0.02350306510925293">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__018__RealtimeClient__options__should_modify_both_the_REST_and_realtime_endpoint_if_environment_string_is_assigned()" time="0.0026170015335083008">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__019__RealtimeClient__options__url_should_contains_transport_params()" time="0.0029309988021850586">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__020__RealtimeClient__Auth_object__should_provide_access_to_the_Auth_object()" time="0.009975075721740723">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__021__RealtimeClient__Auth_object__clientId_may_be_populated_when_the_connection_is_established()" time="0.3520059585571289">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__022__RealtimeClient__stats__should_present_an_async_interface()" time="0.23652899265289307">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__023__RealtimeClient__stats__should_accept_all_the_same_params_as_RestClient()" time="0.7115100622177124">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__024__RealtimeClient__time__should_present_an_async_interface()" time="0.19011497497558594">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__025__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__in_the_CONNECTED_state_and_auth_authorize_is_called__the_client_must_obtain_a_new_token__send_an_AUTH_ProtocolMessage_with_an_auth_attribute()" time="0.659492015838623">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__026__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_the_authentication_token_change_is_successful__then_the_client_should_receive_a_new_CONNECTED_ProtocolMessage()" time="0.785736083984375">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__027__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__performs_an_upgrade_of_capabilities_without_any_loss_of_continuity_or_connectivity_during_the_upgrade_process()" time="0.9580459594726562">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__028__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_capabilities_are_downgraded__client_should_receive_an_ERROR_ProtocolMessage_with_a_channel_property()" time="0.851891040802002">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__029__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_the_authentication_token_change_fails__client_should_receive_an_ERROR_ProtocolMessage_triggering_the_connection_to_transition_to_the_FAILED_state()" time="0.5982840061187744">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__030__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__authorize_call_should_complete_with_an_error_if_the_request_fails()" time="0.5162370204925537">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__031__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__authorize_call_should_be_indicated_as_completed_with_the_new_token_or_error_only_once_realtime_has_responded_to_the_AUTH_with_either_a_CONNECTED_or_ERROR_respectively()" time="0.6796160936355591">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__032__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_connection_is_CONNECTING__all_current_connection_attempts_should_be_halted__and_after_obtaining_a_new_token_the_library_should_immediately_initiate_a_connection_attempt_using_the_new_token()" time="0.8886449337005615">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__033__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__authorize_call_should_complete_with_the_new_token_once_the_connection_has_moved_to_the_CONNECTED_state()" time="0.7123340368270874">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__034__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__authorize_call_should_complete_with_an_error_if_the_connection_moves_to_the_FAILED_state()" time="0.8273470401763916">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__035__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__authorize_call_should_complete_with_an_error_if_the_connection_moves_to_the_SUSPENDED_state()" time="0.5563960075378418">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__036__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__authorize_call_should_complete_with_an_error_if_the_connection_moves_to_the_CLOSED_state()" time="0.6185020208358765">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__037__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_the_connection_is_in_the_SUSPENDED_state_when_auth_authorize_is_called__after_obtaining_a_token_the_library_should_move_to_the_CONNECTING_state_and_initiate_a_connection_attempt_using_the_new_token()" time="1.0904450416564941">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__038__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_the_connection_is_in_the_CLOSED_state_when_auth_authorize_is_called__after_obtaining_a_token_the_library_should_move_to_the_CONNECTING_state_and_initiate_a_connection_attempt_using_the_new_token()" time="1.1780489683151245">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__039__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_the_connection_is_in_the_DISCONNECTED_state_when_auth_authorize_is_called__after_obtaining_a_token_the_library_should_move_to_the_CONNECTING_state_and_initiate_a_connection_attempt_using_the_new_token()" time="1.352180004119873">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__040__RealtimeClient__Auth_authorize_should_upgrade_the_connection_with_current_token__when_the_connection_is_in_the_FAILED_state_when_auth_authorize_is_called__after_obtaining_a_token_the_library_should_move_to_the_CONNECTING_state_and_initiate_a_connection_attempt_using_the_new_token()" time="1.079048991203308">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__041__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__the_client_library_should_reject_the_publish_and_indicate_an_error()" time="0.35322606563568115">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__042__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__the_client_library_should_reject_also_presence_messages__enter_()" time="0.352228045463562">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__043__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__the_client_library_should_reject_also_presence_messages__leave_()" time="0.3435370922088623">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__044__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__the_client_library_should_reject_also_presence_messages__update_()" time="0.3467869758605957">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__045__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__the_client_library_should_reject_also_presence_messages__updateClient_()" time="0.35919106006622314">
        </testcase>
        <testcase classname="RealtimeClientTests" name="test__046__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__the_client_library_should_reject_also_presence_messages__leaveClient_()" time="0.3371180295944214">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__001__publish__should_not_fail_sending_a_message_with_no_clientId_in_the_client_options_and_credentials_that_can_assume_any_clientId()" time="0.44494104385375977">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__002__publish__should_provide_an_optional_argument_that_allows_the_clientId_value_to_be_specified()" time="0.003019094467163086">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__003__publish__should_provide_an_optional_argument_that_allows_the_extras_value_to_be_specified()" time="0.2982279062271118">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__004__publish__should_include_attributes_supplied_by_the_caller_in_the_encoded_message()" time="0.20672106742858887">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__005__publish__with_name_and_data_arguments__publishes_the_message_and_invokes_callback_with_success()" time="0.27543699741363525">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__006__publish__with_name_only__publishes_the_message_and_invokes_callback_with_success()" time="0.264490008354187">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__007__publish__with_data_only__publishes_the_message_and_invokes_callback_with_success()" time="0.30553293228149414">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__008__publish__with_neither_name_nor_data__publishes_the_message_and_invokes_callback_with_success()" time="0.2534409761428833">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__009__publish__with_a_Message_object__publishes_the_message_and_invokes_callback_with_success()" time="0.2678459882736206">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__010__publish__with_an_array_of_Message_objects__publishes_the_messages_in_a_single_request_and_invokes_callback_with_success()" time="0.37595605850219727">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__011__publish__Unidentified_clients_using_Basic_Auth__should_publish_message_with_the_provided_clientId()" time="0.26220703125">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__012__publish__ClientOptions_clientId__should_include_the_clientId_as_a_querystring_parameter_in_realtime_connection_requests()" time="0.42510008811950684">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__013__publish__ClientOptions_clientId__should_include_an_X_Ably_ClientId_header_with_value_set_to_the_clientId_as_Base64_encoded_string_in_REST_connection_requests()" time="0.1802910566329956">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__014__publish__Message_clientId__publishing_with_no_clientId_when_the_clientId_is_set_to_some_value_in_the_client_options_should_result_in_a_message_received_with_the_clientId_property_set_to_that_value()" time="0.6031440496444702">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__015__publish__Message_clientId__publishing_with_a_clientId_set_to_the_same_value_as_the_clientId_in_the_client_options_should_result_in_a_message_received_with_the_clientId_property_set_to_that_value()" time="0.7628740072250366">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__016__publish__Message_clientId__publishing_with_a_clientId_set_to_a_value_from_an_unidentified_client_should_result_in_a_message_received_with_the_clientId_property_set_to_that_value()" time="0.6172889471054077">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__017__publish__Message_clientId__publishing_with_a_clientId_set_to_a_different_value_from_the_clientId_in_the_client_options_should_result_in_a_message_being_rejected_by_the_server()" time="0.44271206855773926">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__018__publish__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__the_client_library_should_reject_the_publish_and_indicate_an_error()" time="0.01341700553894043">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__019__publish__If_the_total_size_of_message_s__exceeds_the_maxMessageSize__also_when_using_publish_data_clientId_extras()" time="0.004140019416809082">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__020__publish__idempotent_publishing__idempotentRestPublishing_option()" time="0.0007990598678588867">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__021__publish__idempotent_publishing__should_not_generate_for_message_with_a_non_empty_id()" time="0.0016959905624389648">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__022__publish__idempotent_publishing__should_generate_for_internal_message_that_is_created_in_publish_name_data___method()" time="0.0032629966735839844">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__023__publish__idempotent_publishing__should_not_generate_for_multiple_messages_with_a_non_empty_id()" time="0.001049041748046875">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__024__publish__idempotent_publishing__should_not_generate_when_idempotentRestPublishing_flag_is_off()" time="0.0054399967193603516">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__025__publish__idempotent_publishing__should_have_only_one_published_message()" time="0.9497029781341553">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__026__publish__idempotent_publishing__should_publish_a_message_with_implicit_Id_only_once()" time="0.521461009979248">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__027__publish__idempotent_publishing__random_idempotent_publish_id__should_generate_for_one_message_with_empty_id()" time="0.00321197509765625">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__028__publish__idempotent_publishing__random_idempotent_publish_id__should_generate_for_multiple_messages_with_empty_id()" time="0.004335999488830566">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__029__history__should_return_a_PaginatedResult_page_containing_the_first_page_of_messages()" time="0.19166100025177002">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__030__history__query_arguments__start_and_end_should_filter_messages_between_those_two_times()" time="0.7446349859237671">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__031__history__query_arguments__start_must_be_equal_to_or_less_than_end_and_is_unaffected_by_the_request_direction()" time="0.014217019081115723">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__032__history__query_arguments__direction_backwards_or_forwards()" time="0.26991498470306396">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__033__history__query_arguments__limit_items_result()" time="0.2783219814300537">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__034__history__query_arguments__limit_supports_up_to_1000_items()" time="0.002400040626525879">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__035__presence__get__should_return_presence_fixture_data()" time="4.590865969657898">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__036__message_encoding__payloads_should_be_binary__strings__or_objects_capable_of_JSON_representation()" time="0.7461519241333008">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__037__message_encoding__encoding_attribute_should_represent_the_encoding_s__applied_in_right_to_left()" time="0.4347400665283203">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__038__message_encoding__json__binary_payload_should_be_encoded_as_Base64_and_represented_as_a_JSON_string()" time="0.1922069787979126">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__039__message_encoding__json__string_payload_should_be_represented_as_a_JSON_string()" time="0.1889660358428955">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__040__message_encoding__json__messages_received_should_be_decoded_based_on_the_encoding_field()" time="0.7105029821395874">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__041__message_encoding__json__json_payload_should_be_stringified_either__as_a_JSON_Array()" time="0.18898797035217285">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__042__message_encoding__json__json_payload_should_be_stringified_either__as_a_JSON_Object()" time="0.21924304962158203">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__043__message_payload_encryption__should_support_AES_encryption__128_CBC_mode()" time="0.2953510284423828">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__044__message_payload_encryption__should_support_AES_encryption__256_CBC_mode()" time="0.26898193359375">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__045__message_decoding__should_deliver_with_a_binary_payload_when_the_payload_was_successfully_decoded_but_it_could_not_be_decrypted()" time="0.3709510564804077">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__046__message_decoding__should_deliver_with_encoding_attribute_set_indicating_the_residual_encoding_and_error_should_be_emitted()" time="0.2793560028076172">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__047__status__with_subscribers__returns_a_channel_details_object_populated_with_channel_metrics()" time="0.6866700649261475">
        </testcase>
        <testcase classname="RestClientChannelTests" name="test__48__channel_name_can_contain_slash_character_which_is_url_encoded_in_the_rest_request_path()" time="0.0056389570236206055">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__001__RestClient__channels__should_return_collection_of_channels()" time="0.004691004753112793">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__002__RestClient__channels__should_be_enumerable()" time="0.0014230012893676758">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__003__RestClient__channels__get__should_return_a_channel()" time="0.0007709264755249023">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__004__RestClient__channels__get__should_return_a_channel_with_the_provided_options()" time="0.0006710290908813477">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__005__RestClient__channels__get__should_not_replace_the_options_on_an_existing_channel_when_none_are_provided()" time="0.0004709959030151367">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__006__RestClient__channels__get__should_replace_the_options_on_an_existing_channel_when_new_ones_are_provided()" time="0.0005849599838256836">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__007__RestClient__channels__channelExists__should_check_if_a_channel_exists()" time="0.00531005859375">
        </testcase>
        <testcase classname="RestClientChannelsTests" name="test__008__RestClient__channels__releaseChannel__should_release_a_channel()" time="0.002260923385620117">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__001__Presence__presence_messages_retrieved_are_decoded_in_the_same_way_that_messages_are_decoded()" time="0.9046429395675659">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__002__Presence__get__should_return_a_PaginatedResult_page_containing_the_first_page_of_members()" time="75.59528696537018">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__003__Presence__get__limit_should_support_up_to_1000_items()" time="0.010998010635375977">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__004__Presence__get__clientId_should_filter_members_by_the_provided_clientId()" time="0.8262379169464111">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__005__Presence__get__connectionId_should_filter_members_by_the_provided_connectionId()" time="4.699180006980896">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__006__Presence__history__should_return_a_PaginatedResult_page_containing_the_first_page_of_members()" time="75.41530704498291">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__007__Presence__history__query_argument__direction_should_change_the_order_of_the_members()" time="5.289736986160278">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__008__Presence__history__connectionId_should_filter_members_by_the_provided_connectionId()" time="4.670310020446777">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__009__Presence__history__query_argument__limit_supports_up_to_1000_members()" time="0.6990610361099243">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__010__Presence__history__query_argument__start_and_end_should_filter_members_between_those_two_times()" time="21.012932062149048">
        </testcase>
        <testcase classname="RestClientPresenceTests" name="test__011__Presence__history__query_argument__start_must_be_equal_to_or_less_than_end_and_is_unaffected_by_the_request_direction()" time="0.0027740001678466797">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__001__RestClient__stats__result__should_match_minute_level_inbound_and_outbound_fixture_data__forwards_()" time="4.66757595539093">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__002__RestClient__stats__result__should_match_hour_level_inbound_and_outbound_fixture_data__forwards_()" time="4.586376070976257">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__003__RestClient__stats__result__should_match_day_level_inbound_and_outbound_fixture_data__forwards_()" time="5.620118975639343">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__004__RestClient__stats__result__should_match_month_level_inbound_and_outbound_fixture_data__forwards_()" time="5.622398018836975">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__005__RestClient__stats__result__should_contain_only_one_item_when_limit_is_1__backwards()" time="4.929416060447693">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__006__RestClient__stats__result__should_contain_only_one_item_when_limit_is_1__forwards()" time="4.859532952308655">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__007__RestClient__stats__result__should_be_paginated_according_to_the_limit__backwards()" time="5.382763981819153">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__008__RestClient__stats__result__should_be_paginated_according_to_the_limit__fowards_()" time="5.114948987960815">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__009__RestClient__stats__query__start__should_return_an_error_when_later_than_end()" time="0.0011370182037353516">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__010__RestClient__stats__query__direction__should_be_backwards_by_default()" time="0.0010859966278076172">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__011__RestClient__stats__query__limit__should_have_a_default_value_of_100()" time="0.0017889738082885742">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__012__RestClient__stats__query__limit__should_return_an_error_when_greater_than_1000()" time="0.0006849765777587891">
        </testcase>
        <testcase classname="RestClientStatsTests" name="test__013__RestClient__stats__query__unit__should_default_to_minute()" time="0.0007230043411254883">
        </testcase>
        <testcase classname="RestClientTests" name="test__001__RestClient__All_REST_requests_should_include_the_current_API_version()" time="0.2160130739212036">
        </testcase>
        <testcase classname="RestClientTests" name="test__002__RestClient__should_provide_access_to_the_AuthOptions_object_passed_in_ClientOptions()" time="0.002498030662536621">
        </testcase>
        <testcase classname="RestClientTests" name="test__003__RestClient__REST_endpoint_host_should_be_configurable_in_the_Client_constructor_with_the_option_restHost()" time="0.04831099510192871">
        </testcase>
        <testcase classname="RestClientTests" name="test__004__RestClient__should_send_requests_over_http_and_https()" time="0.4898339509963989">
        </testcase>
        <testcase classname="RestClientTests" name="test__005__RestClient__should_use_Auth_to_manage_authentication()" time="0.181177020072937">
        </testcase>
        <testcase classname="RestClientTests" name="test__006__RestClient__should_request_another_token_after_current_one_is_no_longer_valid()" time="1.6998059749603271">
        </testcase>
        <testcase classname="RestClientTests" name="test__007__RestClient__should_result_in_an_error_when_user_does_not_have_sufficient_permissions()" time="0.3649669885635376">
        </testcase>
        <testcase classname="RestClientTests" name="test__008__RestClient__should_use_MsgPack_binary_protocol()" time="0.6346009969711304">
        </testcase>
        <testcase classname="RestClientTests" name="test__009__RestClient__should_use_JSON_text_protocol()" time="0.6181460618972778">
        </testcase>
        <testcase classname="RestClientTests" name="test__010__RestClient__X_Ably_Version_must_be_included_in_all_REST_requests()" time="0.18902409076690674">
        </testcase>
        <testcase classname="RestClientTests" name="test__011__RestClient__The_Agent_library_identifier_is_composed_of_a_series_of_key__value__entries_joined_by_spaces()" time="0.19013893604278564">
        </testcase>
        <testcase classname="RestClientTests" name="test__012__RestClient__should_indicate_an_error_if_there_is_no_way_to_renew_the_token()" time="2.55164897441864">
        </testcase>
        <testcase classname="RestClientTests" name="test__013__RestClient__background_behaviour()" time="0.7371819019317627">
        </testcase>
        <testcase classname="RestClientTests" name="test__014__RestClient__client_should_handle_error_messages_in_plaintext_and_HTML_format()" time="0.06834399700164795">
        </testcase>
        <testcase classname="RestClientTests" name="test__015__RestClient__initializer__should_accept_an_API_key()" time="0.0009170770645141602">
        </testcase>
        <testcase classname="RestClientTests" name="test__016__RestClient__initializer__should_throw_when_provided_an_invalid_key()" time="0.006275057792663574">
        </testcase>
        <testcase classname="RestClientTests" name="test__017__RestClient__initializer__should_result_in_error_status_when_provided_a_bad_key()" time="0.27246689796447754">
        </testcase>
        <testcase classname="RestClientTests" name="test__018__RestClient__initializer__should_accept_a_token()" time="0.19680500030517578">
        </testcase>
        <testcase classname="RestClientTests" name="test__019__RestClient__initializer__should_accept_an_options_object()" time="0.0020220279693603516">
        </testcase>
        <testcase classname="RestClientTests" name="test__020__RestClient__initializer__should_accept_an_options_object_with_token_authentication()" time="0.1731170415878296">
        </testcase>
        <testcase classname="RestClientTests" name="test__021__RestClient__initializer__should_result_in_error_status_when_provided_a_bad_token()" time="0.2534080743789673">
        </testcase>
        <testcase classname="RestClientTests" name="test__022__RestClient__logging__should_output_to_the_system-log_and_the_log_level_should_be_Warn()" time="0.0007810592651367188">
        </testcase>
        <testcase classname="RestClientTests" name="test__023__RestClient__logging__should_have_a_mutable_log_level()" time="0.004235029220581055">
        </testcase>
        <testcase classname="RestClientTests" name="test__024__RestClient__logging__should_accept_a_custom_logger()" time="0.0013790130615234375">
        </testcase>
        <testcase classname="RestClientTests" name="test__025__RestClient__endpoint__should_accept_a_custom_host_and_send_requests_to_the_specified_host()" time="0.000982046127319336">
        </testcase>
        <testcase classname="RestClientTests" name="test__026__RestClient__endpoint__should_ignore_an_environment_when_restHost_is_customized()" time="0.016000032424926758">
        </testcase>
        <testcase classname="RestClientTests" name="test__027__RestClient__endpoint__should_accept_an_environment_when_restHost_is_left_unchanged()" time="0.01202702522277832">
        </testcase>
        <testcase classname="RestClientTests" name="test__028__RestClient__endpoint__should_default_to_https___rest_ably_io()" time="0.011813998222351074">
        </testcase>
        <testcase classname="RestClientTests" name="test__029__RestClient__endpoint__should_connect_over_plain_http____when_tls_is_off()" time="0.1697629690170288">
        </testcase>
        <testcase classname="RestClientTests" name="test__030__RestClient__endpoint__should_not_prepend_the_environment_if_environment_is_configured_as__production_()" time="0.0014729499816894531">
        </testcase>
        <testcase classname="RestClientTests" name="test__031__RestClient__should_use_the_the_connection_and_request_timeouts_specified__timeout_for_any_single_HTTP_request_and_response()" time="1.0126539468765259">
        </testcase>
        <testcase classname="RestClientTests" name="test__032__RestClient__should_use_the_the_connection_and_request_timeouts_specified__max_number_of_fallback_hosts()" time="0.005836009979248047">
        </testcase>
        <testcase classname="RestClientTests" name="test__033__RestClient__should_use_the_the_connection_and_request_timeouts_specified__max_elapsed_time_in_which_fallback_host_retries_for_HTTP_requests_will_be_attempted()" time="0.44867396354675293">
        </testcase>
        <testcase classname="RestClientTests" name="test__034__RestClient__time__should_return_server_time()" time="0.19952595233917236">
        </testcase>
        <testcase classname="RestClientTests" name="test__035__RestClient__Authentication__should_support_basic_authentication_when_an_API_key_is_provided_with_the_key_option()" time="0.19279193878173828">
        </testcase>
        <testcase classname="RestClientTests" name="test__036__RestClient__Authentication__should_error_when_expired_token_and_no_means_to_renew()" time="5.469226002693176">
        </testcase>
        <testcase classname="RestClientTests" name="test__037__RestClient__Authentication__should_renew_the_token_when_it_has_expired()" time="5.835355997085571">
        </testcase>
        <testcase classname="RestClientTests" name="test__038__RestClient__Authentication__basic_authentication_flag__should_be_true_when_initialized_with_a_key()" time="0.0007560253143310547">
        </testcase>
        <testcase classname="RestClientTests" name="test__039__RestClient__Authentication__basic_authentication_flag__should_be_false_when_options__useTokenAuth_is_set()" time="0.0005220174789428711">
        </testcase>
        <testcase classname="RestClientTests" name="test__040__RestClient__Authentication__basic_authentication_flag__should_be_false_when_options__authUrl_is_set()" time="0.001022934913635254">
        </testcase>
        <testcase classname="RestClientTests" name="test__041__RestClient__Authentication__basic_authentication_flag__should_be_false_when_options__authCallback_is_set()" time="0.0005509853363037109">
        </testcase>
        <testcase classname="RestClientTests" name="test__042__RestClient__Authentication__basic_authentication_flag__should_be_false_when_options__tokenDetails_is_set()" time="0.000598907470703125">
        </testcase>
        <testcase classname="RestClientTests" name="test__043__RestClient__Authentication__basic_authentication_flag__should_be_false_when_options__token_is_set()" time="0.0015090703964233398">
        </testcase>
        <testcase classname="RestClientTests" name="test__044__RestClient__Authentication__basic_authentication_flag__should_be_false_when_options__key_is_set()" time="0.000661015510559082">
        </testcase>
        <testcase classname="RestClientTests" name="test__045__RestClient__Host_Fallback__failing_HTTP_requests_with_custom_endpoint_should_result_in_an_error_immediately()" time="0.0012810230255126953">
        </testcase>
        <testcase classname="RestClientTests" name="test__046__RestClient__Host_Fallback__applies_when_ClientOptions_fallbackHostsUseDefault_is_true()" time="0.003715038299560547">
        </testcase>
        <testcase classname="RestClientTests" name="test__047__RestClient__Host_Fallback__won_t_apply_fallback_hosts_if_ClientOptions_fallbackHosts_array_is_empty()" time="0.0010540485382080078">
        </testcase>
        <testcase classname="RestClientTests" name="test__048__RestClient__Host_Fallback__won_t_apply_custom_fallback_hosts_if_ClientOptions_fallbackHosts_and_ClientOptions_environment_are_not_set__use_defaults_instead()" time="0.010089993476867676">
        </testcase>
        <testcase classname="RestClientTests" name="test__049__RestClient__Host_Fallback__every_new_HTTP_request_is_first_attempted_to_the_default_primary_host_rest_ably_io()" time="1.133215069770813">
        </testcase>
        <testcase classname="RestClientTests" name="test__050__RestClient__Host_Fallback__should_not_use_an_alternative_host_when_the_client_receives_an_bad_request()" time="0.001332998275756836">
        </testcase>
        <testcase classname="RestClientTests" name="test__051__RestClient__Host_Fallback__fallbackHostsUseDefault_option__allows_the_default_fallback_hosts_to_be_used_when__environment__is_not_production()" time="0.005084991455078125">
        </testcase>
        <testcase classname="RestClientTests" name="test__052__RestClient__Host_Fallback__fallbackHostsUseDefault_option__allows_the_default_fallback_hosts_to_be_used_when_a_custom_Realtime_or_REST_host_endpoint_is_being_used()" time="0.0007749795913696289">
        </testcase>
        <testcase classname="RestClientTests" name="test__053__RestClient__Host_Fallback__fallbackHostsUseDefault_option__should_be_inactive_by_default()" time="0.0006570816040039062">
        </testcase>
        <testcase classname="RestClientTests" name="test__054__RestClient__Host_Fallback__fallbackHostsUseDefault_option__should_never_accept_to_configure__fallbackHost__and_set__fallbackHostsUseDefault__to__true_()" time="0.0014530420303344727">
        </testcase>
        <testcase classname="RestClientTests" name="test__055__RestClient__Host_Fallback__Fallback_behavior__should_be_applied_when_restHost__port_and_tlsPort_has_not_been_set_to_an_explicit_value()" time="0.0013079643249511719">
        </testcase>
        <testcase classname="RestClientTests" name="test__056__RestClient__Host_Fallback__Fallback_behavior__should_NOT_be_applied_when_ClientOptions_restHost_has_been_set()" time="0.004262089729309082">
        </testcase>
        <testcase classname="RestClientTests" name="test__057__RestClient__Host_Fallback__Fallback_behavior__should_NOT_be_applied_when_ClientOptions_port_has_been_set()" time="0.0010269880294799805">
        </testcase>
        <testcase classname="RestClientTests" name="test__058__RestClient__Host_Fallback__Fallback_behavior__should_NOT_be_applied_when_ClientOptions_tlsPort_has_been_set()" time="0.0009930133819580078">
        </testcase>
        <testcase classname="RestClientTests" name="test__059__RestClient__Host_Fallback__Fallback_behavior__should_be_applied_when_ClientOptions_fallbackHosts_is_provided()" time="0.0018589496612548828">
        </testcase>
        <testcase classname="RestClientTests" name="test__060__RestClient__Host_Fallback__Fallback_behavior__should_be_applied_when_ClientOptions_fallbackHosts_is_not_provided_and_deprecated_fallbackHostsUseDefault_is_on()" time="0.0010889768600463867">
        </testcase>
        <testcase classname="RestClientTests" name="test__061__RestClient__Host_Fallback__fallback_hosts_list_and_priorities__should_use_ClientOptions_fallbackHosts_when_list_is_provided()" time="0.001417994499206543">
        </testcase>
        <testcase classname="RestClientTests" name="test__062__RestClient__Host_Fallback__fallback_hosts_list_and_priorities__should_use_environment_fallback_hosts_when_ClientOptions_environment_is_set_to_a_value_other_than__production__and_ClientOptions_fallbackHosts_is_not_set()" time="0.0036929845809936523">
        </testcase>
        <testcase classname="RestClientTests" name="test__063__RestClient__Host_Fallback__fallback_hosts_list_and_priorities__should_NOT_use_environment_fallback_hosts_when_ClientOptions_environment_is_set_to__production_()" time="0.0012379884719848633">
        </testcase>
        <testcase classname="RestClientTests" name="test__064__RestClient__Host_Fallback__fallback_hosts_list_and_priorities__should_use_default_fallback_hosts_when_both_ClientOptions_fallbackHosts_and_ClientOptions_environment_are_not_set()" time="0.0013960599899291992">
        </testcase>
        <testcase classname="RestClientTests" name="test__065__RestClient__Host_Fallback__retry_hosts_in_random_order__default_fallback_hosts_should_match__a_e__ably_realtime_com()" time="0.017161011695861816">
        </testcase>
        <testcase classname="RestClientTests" name="test__066__RestClient__Host_Fallback__retry_hosts_in_random_order__environment_fallback_hosts_have_the_format__environment___a_e__fallback_ably_realtime_com()" time="0.0008720159530639648">
        </testcase>
        <testcase classname="RestClientTests" name="test__067__RestClient__Host_Fallback__retry_hosts_in_random_order__until_httpMaxRetryCount_has_been_reached()" time="0.0021399259567260742">
        </testcase>
        <testcase classname="RestClientTests" name="test__068__RestClient__Host_Fallback__retry_hosts_in_random_order__use_custom_fallback_hosts_if_set()" time="0.0013599395751953125">
        </testcase>
        <testcase classname="RestClientTests" name="test__069__RestClient__Host_Fallback__retry_hosts_in_random_order__until_all_fallback_hosts_have_been_tried()" time="0.0019669532775878906">
        </testcase>
        <testcase classname="RestClientTests" name="test__070__RestClient__Host_Fallback__retry_hosts_in_random_order__until_httpMaxRetryCount_has_been_reached__if_custom_fallback_hosts_are_provided_in_ClientOptions_fallbackHosts__then_they_will_be_used_instead()" time="0.0012400150299072266">
        </testcase>
        <testcase classname="RestClientTests" name="test__071__RestClient__Host_Fallback__retry_hosts_in_random_order__until_all_fallback_hosts_have_been_tried__if_custom_fallback_hosts_are_provided_in_ClientOptions_fallbackHosts__then_they_will_be_used_instead()" time="0.0014300346374511719">
        </testcase>
        <testcase classname="RestClientTests" name="test__072__RestClient__Host_Fallback__retry_hosts_in_random_order__all_fallback_requests_headers_should_contain__Host__header_with_fallback_host_address()" time="0.014452934265136719">
        </testcase>
        <testcase classname="RestClientTests" name="test__073__RestClient__Host_Fallback__retry_hosts_in_random_order__if_an_empty_array_of_fallback_hosts_is_provided__then_fallback_host_functionality_is_disabled()" time="0.005441069602966309">
        </testcase>
        <testcase classname="RestClientTests" name="test__074__RestClient__Host_Fallback__should_use_an_alternative_host_when___hostUnreachable()" time="0.0011130571365356445">
        </testcase>
        <testcase classname="RestClientTests" name="test__075__RestClient__Host_Fallback__should_use_an_alternative_host_when___requestTimeout_timeout__0_1_()" time="0.10875201225280762">
        </testcase>
        <testcase classname="RestClientTests" name="test__076__RestClient__Host_Fallback__should_use_an_alternative_host_when___hostInternalError_code__501_()" time="0.0011129379272460938">
        </testcase>
        <testcase classname="RestClientTests" name="test__077__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host___hostUnreachable()" time="0.0012949705123901367">
        </testcase>
        <testcase classname="RestClientTests" name="test__078__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host___requestTimeout_timeout__0_1_()" time="0.10921692848205566">
        </testcase>
        <testcase classname="RestClientTests" name="test__079__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host___hostInternalError_code__501_()" time="0.001332998275756836">
        </testcase>
        <testcase classname="RestClientTests" name="test__080__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host__should_restore_default_primary_host_after_fallbackRetryTimeout_expired___hostUnreachable()" time="1.175089955329895">
        </testcase>
        <testcase classname="RestClientTests" name="test__081__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host__should_restore_default_primary_host_after_fallbackRetryTimeout_expired___requestTimeout_timeout__0_1_()" time="1.2803560495376587">
        </testcase>
        <testcase classname="RestClientTests" name="test__082__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host__should_restore_default_primary_host_after_fallbackRetryTimeout_expired___hostInternalError_code__501_()" time="1.1158729791641235">
        </testcase>
        <testcase classname="RestClientTests" name="test__083__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host__should_use_another_fallback_host_if_previous_fallback_request_failed_and_store_it_as_default_if_current_fallback_request_succseeded___hostUnreachable()" time="0.009846925735473633">
        </testcase>
        <testcase classname="RestClientTests" name="test__084__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host__should_use_another_fallback_host_if_previous_fallback_request_failed_and_store_it_as_default_if_current_fallback_request_succseeded___requestTimeout_timeout__0_1_()" time="0.21702897548675537">
        </testcase>
        <testcase classname="RestClientTests" name="test__085__RestClient__Host_Fallback__should_store_successful_fallback_host_as_default_host__should_use_another_fallback_host_if_previous_fallback_request_failed_and_store_it_as_default_if_current_fallback_request_succseeded___hostInternalError_code__501_()" time="0.006120920181274414">
        </testcase>
        <testcase classname="RestClientTests" name="test__086__RestClient__request__method_signature_and_arguments__should_add_query_parameters()" time="0.002672910690307617">
        </testcase>
        <testcase classname="RestClientTests" name="test__087__RestClient__request__method_signature_and_arguments__should_add_a_HTTP_body()" time="0.0012069940567016602">
        </testcase>
        <testcase classname="RestClientTests" name="test__088__RestClient__request__method_signature_and_arguments__should_add_a_HTTP_header()" time="0.0010319948196411133">
        </testcase>
        <testcase classname="RestClientTests" name="test__089__RestClient__request__method_signature_and_arguments__should_error_if_method_is_invalid()" time="0.005236029624938965">
        </testcase>
        <testcase classname="RestClientTests" name="test__090__RestClient__request__method_signature_and_arguments__should_error_if_path_is_invalid()" time="0.0006490945816040039">
        </testcase>
        <testcase classname="RestClientTests" name="test__091__RestClient__request__method_signature_and_arguments__should_error_if_body_is_not_a_Dictionary_or_an_Array()" time="0.0007700920104980469">
        </testcase>
        <testcase classname="RestClientTests" name="test__092__RestClient__request__method_signature_and_arguments__should_do_a_request_and_receive_a_valid_response()" time="0.399677038192749">
        </testcase>
        <testcase classname="RestClientTests" name="test__093__RestClient__request__method_signature_and_arguments__should_handle_response_failures()" time="0.36414098739624023">
        </testcase>
        <testcase classname="RestClientTests" name="test__094__RestClient__if_in_the_course_of_a_REST_request_an_attempt_to_authenticate_using_authUrl_fails_due_to_a_timeout__the_request_should_result_in_an_error_with_code_40170__statusCode_401__and_a_suitable_error_message()" time="3.203890085220337">
        </testcase>
        <testcase classname="RestClientTests" name="test__095__RestClient__request_IDs__should_add__request_id__query_parameter()" time="0.004701972007751465">
        </testcase>
        <testcase classname="RestClientTests" name="test__096__RestClient__request_IDs__should_remain_the_same_if_a_request_is_retried_to_a_fallback_host()" time="0.04321002960205078">
        </testcase>
        <testcase classname="RestClientTests" name="test__097__RestClient__request_IDs__ErrorInfo_should_have__requestId__property()" time="0.005470991134643555">
        </testcase>
        <testcase classname="RestPaginatedTests" name="test__001__RestPaginated__should_extract_links_from_the_response()" time="0.0028319358825683594">
        </testcase>
        <testcase classname="RestPaginatedTests" name="test__002__RestPaginated__should_create_next_first_last_request_from_extracted_link_path()" time="0.0005959272384643555">
        </testcase>
        <testcase classname="RetrySequenceTests" name="test_addRetryAttempt()" time="0.0010091066360473633">
        </testcase>
        <testcase classname="StatsTests" name="test__001__Stats__all__should_return_a_MessagesTypes_object()" time="0.012251973152160645">
        </testcase>
        <testcase classname="StatsTests" name="test__002__Stats__all__should_return_value_for_message_counts()" time="0.0012509822845458984">
        </testcase>
        <testcase classname="StatsTests" name="test__003__Stats__all__should_return_value_for_all_data_transferred()" time="0.001331925392150879">
        </testcase>
        <testcase classname="StatsTests" name="test__004__Stats__all__should_return_zero_for_empty_values()" time="0.000782012939453125">
        </testcase>
        <testcase classname="StatsTests" name="test__005__Stats__persisted__should_return_a_MessagesTypes_object()" time="0.0024720430374145508">
        </testcase>
        <testcase classname="StatsTests" name="test__006__Stats__persisted__should_return_value_for_message_counts()" time="0.0008929967880249023">
        </testcase>
        <testcase classname="StatsTests" name="test__007__Stats__persisted__should_return_value_for_all_data_transferred()" time="0.002232074737548828">
        </testcase>
        <testcase classname="StatsTests" name="test__008__Stats__persisted__should_return_zero_for_empty_values()" time="0.0013949871063232422">
        </testcase>
        <testcase classname="StatsTests" name="test__009__Stats__inbound__should_return_a_MessageTraffic_object()" time="0.016891002655029297">
        </testcase>
        <testcase classname="StatsTests" name="test__010__Stats__inbound__should_return_value_for_realtime_message_counts()" time="0.051103949546813965">
        </testcase>
        <testcase classname="StatsTests" name="test__011__Stats__inbound__should_return_value_for_all_presence_data()" time="0.0006580352783203125">
        </testcase>
        <testcase classname="StatsTests" name="test__012__Stats__outbound__should_return_a_MessageTraffic_object()" time="0.0012960433959960938">
        </testcase>
        <testcase classname="StatsTests" name="test__013__Stats__outbound__should_return_value_for_realtime_message_counts()" time="0.0005799531936645508">
        </testcase>
        <testcase classname="StatsTests" name="test__014__Stats__outbound__should_return_value_for_all_presence_data()" time="0.0007289648056030273">
        </testcase>
        <testcase classname="StatsTests" name="test__015__Stats__connections__should_return_a_ConnectionTypes_object()" time="0.0014170408248901367">
        </testcase>
        <testcase classname="StatsTests" name="test__016__Stats__connections__should_return_value_for_tls_opened_counts()" time="0.00046706199645996094">
        </testcase>
        <testcase classname="StatsTests" name="test__017__Stats__connections__should_return_value_for_all_peak_connections()" time="0.00042891502380371094">
        </testcase>
        <testcase classname="StatsTests" name="test__018__Stats__connections__should_return_zero_for_empty_values()" time="0.0005679130554199219">
        </testcase>
        <testcase classname="StatsTests" name="test__019__Stats__channels__should_return_a_ResourceCount_object()" time="0.0018010139465332031">
        </testcase>
        <testcase classname="StatsTests" name="test__020__Stats__channels__should_return_value_for_opened_counts()" time="0.00046896934509277344">
        </testcase>
        <testcase classname="StatsTests" name="test__021__Stats__channels__should_return_value_for_peak_channels()" time="0.002322077751159668">
        </testcase>
        <testcase classname="StatsTests" name="test__022__Stats__channels__should_return_zero_for_empty_values()" time="0.00045502185821533203">
        </testcase>
        <testcase classname="StatsTests" name="test__023__Stats__apiRequests__should_return_a_RequestCount_object()" time="0.005558967590332031">
        </testcase>
        <testcase classname="StatsTests" name="test__024__Stats__apiRequests__should_return_value_for_succeeded()" time="0.002729058265686035">
        </testcase>
        <testcase classname="StatsTests" name="test__025__Stats__apiRequests__should_return_value_for_failed()" time="0.0018720626831054688">
        </testcase>
        <testcase classname="StatsTests" name="test__026__Stats__tokenRequests__should_return_a_RequestCount_object()" time="0.0017850399017333984">
        </testcase>
        <testcase classname="StatsTests" name="test__027__Stats__tokenRequests__should_return_value_for_succeeded()" time="0.000532984733581543">
        </testcase>
        <testcase classname="StatsTests" name="test__028__Stats__tokenRequests__should_return_value_for_failed()" time="0.00043892860412597656">
        </testcase>
        <testcase classname="StatsTests" name="test__029__Stats__interval__should_return_a_Date_object_representing_the_start_of_the_interval()" time="0.00722503662109375">
        </testcase>
        <testcase classname="StatsTests" name="test__030__Stats__push__should_return_a_ARTStatsPushCount_object()" time="0.0019609928131103516">
        </testcase>
        <testcase classname="StatsTests" name="test__031__Stats__push__should_return_value_for_messages_count()" time="0.0006200075149536133">
        </testcase>
        <testcase classname="StatsTests" name="test__032__Stats__push__should_return_value_for_invalid_notifications()" time="0.0005168914794921875">
        </testcase>
        <testcase classname="StatsTests" name="test__033__Stats__push__should_return_value_for_attempted_notifications()" time="0.0006380081176757812">
        </testcase>
        <testcase classname="StatsTests" name="test__034__Stats__push__should_return_value_for_successful_notifications()" time="0.0004010200500488281">
        </testcase>
        <testcase classname="StatsTests" name="test__035__Stats__push__should_return_value_for_failed_notifications()" time="0.0003650188446044922">
        </testcase>
        <testcase classname="StatsTests" name="test__036__Stats__push__should_return_value_for_directPublishes()" time="0.1374300718307495">
        </testcase>
        <testcase classname="StatsTests" name="test__037__Stats__inProgress__should_return_a_Date_object_representing_the_last_sub_interval_included_in_this_statistic()" time="0.0006650686264038086">
        </testcase>
        <testcase classname="StatsTests" name="test__038__Stats__count__should_return_value_for_number_of_lower_level_stats()" time="0.0003750324249267578">
        </testcase>
        <testcase classname="StringifiableTests" name="test__001__Stringifiable__type_conversion__as_string()" time="0.0008609294891357422">
        </testcase>
        <testcase classname="StringifiableTests" name="test__002__Stringifiable__type_conversion__as_bool__true_()" time="0.000702977180480957">
        </testcase>
        <testcase classname="StringifiableTests" name="test__003__Stringifiable__type_conversion__as_bool__false_()" time="0.0006489753723144531">
        </testcase>
        <testcase classname="StringifiableTests" name="test__004__Stringifiable__type_conversion__as_integer_that_is_not_treated_as_bool__false_()" time="0.0017989873886108398">
        </testcase>
        <testcase classname="StringifiableTests" name="test__005__Stringifiable__type_conversion__as_integer_that_is_not_treated_as_bool__true_()" time="0.0003770589828491211">
        </testcase>
        <testcase classname="StringifiableTests" name="test__006__Stringifiable__type_conversion__as_number__Int_()" time="0.0004000663757324219">
        </testcase>
        <testcase classname="StringifiableTests" name="test__007__Stringifiable__type_conversion__as_number__Float_1_decimal_digit_()" time="0.025129079818725586">
        </testcase>
        <testcase classname="StringifiableTests" name="test__008__Stringifiable__type_conversion__as_number__Float_2_decimal_digits_()" time="0.0006690025329589844">
        </testcase>
        <testcase classname="StringifiableTests" name="test__009__Stringifiable__type_conversion__as_number__Float_4_decimal_digits_()" time="0.0024230480194091797">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__001__Utilities__JSON_Encoder__should_decode_a_protocol_message_that_has_an_error_without_a_message()" time="0.001896977424621582">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__002__Utilities__JSON_Encoder__should_encode_a_protocol_message_that_has_invalid_data()" time="0.0036530494689941406">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__003__Utilities__JSON_Encoder__should_decode_data_with_malformed_JSON()" time="0.0037860870361328125">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__004__Utilities__JSON_Encoder__should_decode_data_with_malformed_MsgPack()" time="0.014097929000854492">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__005__Utilities__JSON_Encoder__in_Realtime__should_handle_and_emit_the_invalid_data_error()" time="0.0555189847946167">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__006__Utilities__JSON_Encoder__in_Realtime__should_ignore_invalid_transport_message()" time="0.4294010400772095">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__007__Utilities__JSON_Encoder__in_Rest__should_handle_and_emit_the_invalid_data_error()" time="0.005819082260131836">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__008__Utilities__JSON_Encoder__in_Rest__should_ignore_invalid_response_payload()" time="0.0022499561309814453">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__009__Utilities__EventEmitter__should_emit_events_to_all_relevant_listeners()" time="0.0013390779495239258">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__010__Utilities__EventEmitter__should_only_call_once_listeners_once_for_its_event()" time="0.0009479522705078125">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__011__Utilities__EventEmitter__calling_off_with_a_single_listener_argument__should_stop_receiving_events_when_calling_off_with_a_single_listener_argument()" time="0.003265976905822754">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__012__Utilities__EventEmitter__calling_off_with_a_single_listener_argument__should_remove_the_timeout()" time="0.3218880891799927">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__013__Utilities__EventEmitter__calling_off_with_listener_and_event_arguments__should_still_receive_events_if_off_doesn_t_match_the_listener_s_criteria()" time="0.001526951789855957">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__014__Utilities__EventEmitter__calling_off_with_listener_and_event_arguments__should_stop_receive_events_if_off_matches_the_listener_s_criteria()" time="0.0025080442428588867">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__015__Utilities__EventEmitter__calling_off_with_no_arguments__should_remove_all_listeners()" time="0.0006899833679199219">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__016__Utilities__EventEmitter__calling_off_with_no_arguments__should_allow_listening_again()" time="0.0005820989608764648">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__017__Utilities__EventEmitter__calling_off_with_no_arguments__should_remove_all_timeouts()" time="0.15998589992523193">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__018__Utilities__EventEmitter__the_timed_method__should_not_call_onTimeout_if_the_deadline_isn_t_reached()" time="0.30546796321868896">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__019__Utilities__EventEmitter__the_timed_method__should_call_onTimeout_and_off_the_listener_if_the_deadline_is_reached()" time="0.36978399753570557">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__020__Utilities__EventEmitter__set_of_listeners__should_not_change_over_the_course_of_the_emit()" time="0.0006219148635864258">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__021__Utilities__Logger__should_have_a_history_of_logs()" time="0.44830310344696045">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__022__Utilities__maxMessageSize__calculates_maxMessageSize_of_a_Message_with_name_and_data()" time="0.0006519556045532227">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__023__Utilities__maxMessageSize__calculates_maxMessageSize_of_a_Message_with_name__data_and_extras()" time="0.0006060600280761719">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__024__Utilities__maxMessageSize__calculates_maxMessageSize_of_a_Message_with_name__data__clientId_and_extras()" time="0.0005640983581542969">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__025_Utilities__message_received_with_action_create_does_not_contain_a_serial_takes_it_from_version()" time="0.0006600618362426758">
        </testcase>
        <testcase classname="UtilitiesTests" name="test__027_Utilities__message_received_with_action_create_does_not_contain_createdAt()" time="0.0005400180816650391">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_addsAgentChannelParam_whenFetchedWithChannelOptions()" time="0.42954492568969727">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_addsAgentChannelParam_whenFetchedWithNoChannelOptions()" time="0.4126490354537964">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_doesNotAddAgentParam_whenProxyClientCreatedWithoutAgents()" time="0.430387020111084">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_history_addsWrapperSDKAgentToRequest()" time="1.2642600536346436">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_presenceHistory_addsWrapperSDKAgentToRequest()" time="0.26218104362487793">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_pushAdmin_addsWrapperSDKAgentToRequests()" time="0.20554304122924805">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_pushAdmin_channelSubscriptions_addsWrapperSDKAgentToRequests()" time="0.20176899433135986">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_pushAdmin_deviceRegistrations_addsWrapperSDKAgentToRequests()" time="0.18520402908325195">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_request_addsWrapperSDKAgentToHeader()" time="0.18662405014038086">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_request_firstAndNext_addWrapperSDKAgentToHeader()" time="1.2620209455490112">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_sharesChannelMessageSubscriptionsWithUnderlyingChannel()" time="0.4553900957107544">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_sharesChannelStateSubscriptionsWithUnderlyingChannel()" time="0.41509997844696045">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_sharesChannelStateWithUnderlyingChannel()" time="0.4963200092315674">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_sharesConnectionStateWithUnderlyingClient()" time="0.4214719533920288">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_sharesConnectionSubscriptionsWithUnderlyingRealtimeClient()" time="0.3623969554901123">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_stats_addsWrapperSDKAgentToRequest()" time="0.21512293815612793">
        </testcase>
        <testcase classname="WrapperSDKProxyTests" name="test_time_addsWrapperSDKAgentToRequest()" time="0.19942200183868408">
        </testcase>
    </testsuite>
</testsuites>