### Question:
WearConnectivityController implements
        ActivityModeTracker.Listener,
        WearNetworkObserver.Listener,
        WearProxyNetworkAgent.Listener { public void onBootCompleted() { mContext.registerReceiver(notifyProxyStatusChangeReceiver, new IntentFilter(ACTION_PROXY_STATUS_CHANGE)); if (mBtMediator != null) { mBtMediator.onBootCompleted(); } mWifiMediator.onBootCompleted(mProxyNetworkAgent.isProxyConnected()); if (mCellMediator != null) { mCellMediator.onBootCompleted(mProxyNetworkAgent.isProxyConnected()); } if (mActivityModeTracker.isActivityModeEnabled()) { onActivityModeChanged(true); } } WearConnectivityController(
            Context context,
            AlarmManager alarmManager,
            WearBluetoothMediator btMediator,
            WearWifiMediator wifiMediator,
            WearCellularMediator cellMediator,
            WearProxyNetworkAgent proxyNetworkAgent,
            ActivityModeTracker activityModeTracker); void onBootCompleted(); @Override void onProxyConnectionChange(boolean proxyConnected); @Override void onUnmeteredRequestsChanged(int numUnmeteredRequests); @Override void onHighBandwidthRequestsChanged(int numHighBandwidthRequests); @Override void onWifiRequestsChanged(int numWifiRequests); @Override void onCellularRequestsChanged(int numCellularRequests); @Override void onActivityModeChanged(boolean enabled); void dump(IndentingPrintWriter ipw);  }### Answer:
@Test public void testOnBootCompleted() { assertTrue(ShadowApplication.getInstance().hasReceiverForIntent( new Intent(WearConnectivityController.ACTION_PROXY_STATUS_CHANGE))); verify(mockWifiMediator).onBootCompleted(true); verify(mockCellMediator).onBootCompleted(true); }