CompleteRestoreTaskRunner implements TaskRunner { @Override public String getName() { return SnapshotConstants.COMPLETE_RESTORE_TASK_NAME; } CompleteRestoreTaskRunner(StorageProvider snapshotProvider,
                                     SnapshotStorageProvider unwrappedSnapshotProvider,
                                     AmazonS3 s3Client); @Override String getName(); @Override String performTask(String taskParameters);  }
@Test public void testGetName() { replayMocks(); assertEquals("complete-restore", taskRunner.getName()); }