### Question:
DefaultAccountConnectionsService implements AccountConnectionsService, NetworkStateListener { @Override public void init() { networkStateService.addListener(this); accountService.addListener(new AccountEventListener()); tryStartConnectionsFor(accountService.getEnabledAccounts()); } @Inject  DefaultAccountConnectionsService(@Nonnull Application context); @Override void init(); @Override void tryStopAll(); @Override void tryStartAll(); @Override boolean isInternetConnectionExists(); @Override void onNetworkEvent(@Nonnull final NetworkData networkData);  }### Answer:
@Test public void testInitShouldStartConnections() throws Exception { service.init(); verify(accountConnections, times(1)).startConnectionsFor(accounts, true); }