@Test
public void testIncorrectWalTimeFromMillis() throws Exception {

    expectedEx.expect(IllegalArgumentException.class);
    expectedEx.expectMessage("Can't parse number 'not_long', expected type: java.lang.Long");
    final File wal = File.createTempFile("wal", "");
    wal.deleteOnExit();
    final String[] args = {
        "--wal-dir", wal.getAbsolutePath(),
        "--wal-time-from-millis", "not_long"
    };
    IgniteWalConverterArguments.parse(System.out, args);
}