source: class ServerConnectionTest {
  
      @Rule
      public MockitoRule mockitoRule;
      @Mock
      private ConnectionsClient mockClient;
  
      @Test
      public void sendStream() throws IOException {
  
target:         ServerConnection connection = ServerConnection.getInstance();
          Whitebox.setInternalState(connection, "connectionsClient", mockClient);
          connection.sendStream();
      }
  
  }