@Test
public void testLogThreadInfo() throws Exception {

  Logger logger = LoggerFactory.getLogger(TestReflectionUtils.class);
  LogCapturer logCapturer = LogCapturer.captureLogs(logger);
  final String title = "title";
  ReflectionUtils.logThreadInfo(logger, title, 0L);
  assertThat(logCapturer.getOutput(),
      containsString("Process Thread Dump: " + title));
}