@Test
public void testIncorrectRecordTypes() throws Exception {

    expectedEx.expect(IllegalArgumentException.class);
    expectedEx.expectMessage("Unknown record types: [not_exist].");
    final File wal = File.createTempFile("wal", "");
    wal.deleteOnExit();
    final String[] args = {
        "--wal-dir", wal.getAbsolutePath(),
        "--record-types", "not_exist"
    };
    IgniteWalConverterArguments.parse(System.out, args);
}