TagGroupApiClient { public static TagGroupApiClient namedUserClient(AirshipRuntimeConfig runtimeConfig) { return new TagGroupApiClient(runtimeConfig, RequestFactory.DEFAULT_REQUEST_FACTORY, NAMED_USER_ID_KEY, NAMED_USER_TAG_GROUP_PATH); } @VisibleForTesting  TagGroupApiClient(@NonNull AirshipRuntimeConfig runtimeConfig,
                      @NonNull RequestFactory requestFactory,
                      @NonNull String audienceKey,
                      @NonNull String path); static TagGroupApiClient namedUserClient(AirshipRuntimeConfig runtimeConfig); static TagGroupApiClient channelClient(AirshipRuntimeConfig runtimeConfig);  }
@Test public void testNamedUserClient() { TagGroupApiClient client = TagGroupApiClient.namedUserClient(runtimeConfig); assertEquals("named_user_id", client.getAudienceKey()); assertEquals("api/named_users/tags/", client.getPath());; }