DumpJob extends HasServicesJobBase<DumpJobSpec> { @Override public void execute() throws Exception { try { BackupWriter backupWriter = getBackupWriter(); backupWriter.write(getPath()); } catch (MigratorException exception) { throw exception; } catch (Exception exception) { throw new DumpException(exception); } } DumpJob();  DumpJob(DumpJobSpec jobSpec); @Override void execute(); @Override void close(); BackupWriter getBackupWriter(); void setBackupWriter(BackupWriter backupWriter); QueryLimit getQueryLimit();  }
@Test public void validateConnectionProvider() throws Exception { dumpJob.setConnectionProviderFactory(null); jobExecutor.execute(jobContext); verifyInit(); }
@Test public void validateDialectResolver() throws Exception { dumpJob.setDialectResolver(null); jobExecutor.execute(jobContext); verifyInit(); }
@Test public void validateValueFormatRegistryResolver() throws Exception { dumpJob.setValueFormatRegistryResolver(null); jobExecutor.execute(jobContext); verifyInit(); }
@Test public void validateFormatFactory() throws Exception { dumpJob.setFormatFactory(null); jobExecutor.execute(jobContext); verifyInit(); }