ConnectedClient { public boolean stillConnected() { return customTabsClient != null; } ConnectedClient(@NonNull CustomTabsClient customTabsClient); Session newSession(); boolean stillConnected(); void disconnect();  }
@Test public void givenThatClientIsConnected_whenCheckingIfStillConnected_thenReturnsTrue() { boolean stillConnected = connectedClient.stillConnected(); assertThat(stillConnected).isTrue(); }