adapter.setCredentialsServiceClient(credentialsService); adapter.setHonoMessagingClient(messagingService); adapter.setCommandConnection(commandConnection);
private void givenAnAdapterConfiguredWithServiceClients( final Handler<Void> startupHandler, final Handler<Void> commandConnectionEstablishedHandler, final Handler<Void> commandConnectionLostHandler) { adapter = newProtocolAdapter(properties, "test", startupHandler, commandConnectionEstablishedHandler, commandConnectionLostHandler); adapter.setCredentialsServiceClient(credentialsService); adapter.setHonoMessagingClient(messagingService); adapter.setRegistrationServiceClient(registrationService); adapter.setTenantServiceClient(tenantService); adapter.setCommandConnection(commandConnection); }