### Question:
ConnectionParams { public long getAuthTokenLifetimeMillis() { return mAuthTokenLifetimeMillis; } private  ConnectionParams(
            @NonNull String projectId,
            @NonNull String registryId,
            @NonNull String deviceId,
            @NonNull String cloudRegion,
            @NonNull String bridgeHostname,
            int bridgePort,
            long authTokenLifetimeMillis); String getProjectId(); String getRegistryId(); String getDeviceId(); String getCloudRegion(); String getBridgeHostname(); int getBridgePort(); String getBrokerUrl(); long getAuthTokenLifetimeMillis(); String getClientId(); String getTelemetryTopic(); String getDeviceStateTopic(); String getConfigurationTopic(); String getCommandsTopic();  }### Answer:
@Test public void testGetAuthTokenLifetime() { ConnectionParams connectionParams = buildAllParameters(); assertThat(connectionParams.getAuthTokenLifetimeMillis()) .isEqualTo(TimeUnit.MILLISECONDS .convert(AUTH_TOKEN_LIFETIME_DURATION, AUTH_TOKEN_LIFETIME_UNITS)); }
@Test public void testGetAuthTokenLifetimeDefault() { ConnectionParams connectionParams = buildRequiredParameters(); assertThat(connectionParams.getAuthTokenLifetimeMillis()) .isEqualTo(Duration.ofHours(1).toMillis()); }