@Test public void setEventCallbacks_shouldSetCallbacks() { TestEventCallbacks eventCallbacks = new TestEventCallbacks(); connectionManager.setEventCallbacks(eventCallbacks); eventCallbacks.onConnect(null); assertThat(eventCallbacks.connected).isTrue(); }
public void setEventCallbacks(EventCallbacks callbacks) { eventCallbacks = callbacks; }
FusedLocationServiceConnectionManager { public void setEventCallbacks(EventCallbacks callbacks) { eventCallbacks = callbacks; } }
FusedLocationServiceConnectionManager { public void setEventCallbacks(EventCallbacks callbacks) { eventCallbacks = callbacks; } FusedLocationServiceConnectionManager(); }
FusedLocationServiceConnectionManager { public void setEventCallbacks(EventCallbacks callbacks) { eventCallbacks = callbacks; } FusedLocationServiceConnectionManager(); void setEventCallbacks(EventCallbacks callbacks); void addCallbacks(ConnectionCallbacks callbacks); void removeCallbacks(ConnectionCallbacks callbacks); boolean isConnected(); boolean isConnecting(); void connect(Context context, ConnectionCallbacks callbacks); void disconnect(); void onServiceConnected(IBinder binder); void onServiceDisconnected(); Set<ConnectionCallbacks> getConnectionCallbacks(); }
FusedLocationServiceConnectionManager { public void setEventCallbacks(EventCallbacks callbacks) { eventCallbacks = callbacks; } FusedLocationServiceConnectionManager(); void setEventCallbacks(EventCallbacks callbacks); void addCallbacks(ConnectionCallbacks callbacks); void removeCallbacks(ConnectionCallbacks callbacks); boolean isConnected(); boolean isConnecting(); void connect(Context context, ConnectionCallbacks callbacks); void disconnect(); void onServiceConnected(IBinder binder); void onServiceDisconnected(); Set<ConnectionCallbacks> getConnectionCallbacks();  }