public ServerStatus getServerStatus() {
        return serverStatus;
    }
@Test
    void testUpdaterFromSwitch() {
        String expect = ServerStatus.DOWN.toString();
        when(switchDomain.getOverriddenServerStatus()).thenReturn(expect);
        ServerStatusManager serverStatusManager = new ServerStatusManager(protocolManager, switchDomain);
        ServerStatusManager.ServerStatusUpdater updater = serverStatusManager.new ServerStatusUpdater();
        //then
        updater.run();
        //then
        ServerStatus serverStatus = serverStatusManager.getServerStatus();
        assertEquals(expect, serverStatus.toString());
    }