@Test
public void testViewHelp() throws Exception {

    final ByteArrayOutputStream out = new ByteArrayOutputStream();
    final IgniteWalConverterArguments parseArgs = IgniteWalConverterArguments.parse(new PrintStream(out), null);
    Assert.assertNull(parseArgs);
    final String help = out.toString();
    Assert.assertTrue(help.startsWith("Print WAL log data in human-readable form."));
    for (final Field field : IgniteWalConverterArguments.class.getDeclaredFields()) {
        if (Modifier.isStatic(field.getModifiers())
            && Modifier.isStatic(field.getModifiers())
            && field.getType() == String.class) {
            field.setAccessible(true);
            final String arg = (String)field.get(null);
            Assert.assertTrue(help.contains("    " + arg + " "));
        }
    }
}