@Test
  public void readDominoNumberSharedResourceTrueReturns0() throws IOException {
    final DataInput dataInput = mock(DataInput.class);
    when(dataInput.readInt()).thenReturn(1);

    final int dominoNumber = Connection.readDominoNumber(dataInput, true);
    assertThat(dominoNumber).isEqualTo(0);

    verify(dataInput).readInt();
    verifyNoMoreInteractions(dataInput);
  }
Test whether suspicion is raised about a member that closes its shared/unordered TCPConduit
connection
geode-core/src/test/java/org/apache/geode/internal/tcp/ConnectionTest.java