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