@Override
    public int hashCode() {
        return Objects.hashCode(server);
    }
@Test
    void hashCodeForNull() {
        final DiscoveryResult discoveryResult = new DiscoveryResult(null);
        assertNotNull(discoveryResult.hashCode());
        assertEquals(0, discoveryResult.hashCode());
    }