@Test
public void shouldNotCallVersionVerifierOnNetworkError() {

    mockServer.shutdown();
    RocketChatVerifier.checkServerVersion(client, baseUrl.toString(), verifier, callback);
    verify(verifier, timeout(1000).times(0))
            .isValidVersion(versionCaptor.capture());
}