@Test
public void testIncorrectSeveralRecordTypes() throws Exception {

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