protected boolean isPassed() {
        return !agentHealthHolder.hasLostContact();
    }
@Test
    void shouldReturnFalseIfAgentHasLostContact() {
        AgentHealthHolder mock = mock(AgentHealthHolder.class);
        when(mock.hasLostContact()).thenReturn(true);
        IsConnectedToServerV1 handler = new IsConnectedToServerV1(mock);
        assertThat(handler.isPassed()).isFalse();
    }