### Question:
ServerLogReceiver extends AbstractLogReceiver { @Override public void pauseReceivingLogs() { super.pauseReceivingLogs(); for (final AbstractLogReceiver child : childReceivers) { child.pauseReceivingLogs(); } } ServerLogReceiver(final int listenPort, final LogRepositoryUpdate logRepository); @Override void dispose(); @Override int getConnectionsCount(); @Override void run(); @Override boolean isServerMode(); @Override void pauseReceivingLogs(); @Override void resumeReceivingLogs();  }### Answer:
@Test public void testPauseReceivingLogs() throws Exception { assertFalse(receiver.isPaused()); receiver.pauseReceivingLogs(); assertTrue(receiver.isPaused()); receiver.resumeReceivingLogs(); assertFalse(receiver.isPaused()); }