@Test
public void testExceptionsHandlerSuppressed() {

  Server.ExceptionsHandler handler = new Server.ExceptionsHandler();
  handler.addSuppressedLoggingExceptions(IOException.class);
  handler.addSuppressedLoggingExceptions(RpcServerException.class, IpcException.class);
  assertTrue(handler.isSuppressedLog(IOException.class));
  assertTrue(handler.isSuppressedLog(RpcServerException.class));
  assertTrue(handler.isSuppressedLog(IpcException.class));
  assertFalse(handler.isSuppressedLog(RpcClientException.class));
}