### Question:
ExpireSnapshotsAction extends BaseAction<ExpireSnapshotsActionResult> { @Override public ExpireSnapshotsActionResult execute() { if (streamResults) { return deleteFiles(expire().toLocalIterator()); } else { return deleteFiles(expire().collectAsList().iterator()); } } ExpireSnapshotsAction(SparkSession spark, Table table); ExpireSnapshotsAction streamDeleteResults(boolean stream); ExpireSnapshotsAction executeDeleteWith(ExecutorService executorService); ExpireSnapshotsAction expireSnapshotId(long expireSnapshotId); ExpireSnapshotsAction expireOlderThan(long timestampMillis); ExpireSnapshotsAction retainLast(int numSnapshots); ExpireSnapshotsAction deleteWith(Consumer<String> newDeleteFunc); Dataset<Row> expire(); @Override ExpireSnapshotsActionResult execute();  }### Answer:
@Test public void testNoFilesDeletedWhenNoSnapshotsExpired() throws Exception { table.newFastAppend() .appendFile(FILE_A) .commit(); ExpireSnapshotsActionResult results = Actions.forTable(table).expireSnapshots().execute(); checkExpirationResults(0L, 0L, 0L, results); }