@Test public void testGetCommandsTopic() { ConnectionParams connectionParams = buildAllParameters(); String expectedCommandsTopic = "/devices/" + DEVICE_ID + "/commands"; assertThat(connectionParams.getCommandsTopic()).isEqualTo(expectedCommandsTopic); }
public String getCommandsTopic() { return mCommandsTopic; }
ConnectionParams { public String getCommandsTopic() { return mCommandsTopic; } }
ConnectionParams { public String getCommandsTopic() { return mCommandsTopic; } private  ConnectionParams(
            @NonNull String projectId,
            @NonNull String registryId,
            @NonNull String deviceId,
            @NonNull String cloudRegion,
            @NonNull String bridgeHostname,
            int bridgePort,
            long authTokenLifetimeMillis); }
ConnectionParams { public String getCommandsTopic() { return mCommandsTopic; } 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(); }
ConnectionParams { public String getCommandsTopic() { return mCommandsTopic; } 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();  }