### Question:
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();  }### Answer:
@Test public void setEventCallbacks_shouldSetCallbacks() { TestEventCallbacks eventCallbacks = new TestEventCallbacks(); connectionManager.setEventCallbacks(eventCallbacks); eventCallbacks.onConnect(null); assertThat(eventCallbacks.connected).isTrue(); }