CleanupSnapshotTaskRunner implements TaskRunner { @Override public String getName() { return SnapshotConstants.CLEANUP_SNAPSHOT_TASK_NAME; } CleanupSnapshotTaskRunner(SnapshotStorageProvider unwrappedSnapshotProvider,
                                     AmazonS3 s3Client,
                                     TaskQueue auditTaskQueue,
                                     ManifestStore manifestStore,
                                     String account,
                                     String storeId); @Override String getName(); @Override String performTask(String taskParameters);  }
@Test public void testGetName() { replayAll(); assertEquals("cleanup-snapshot", taskRunner.getName()); }