CompleteCancelSnapshotTaskRunner extends SpaceModifyingSnapshotTaskRunner { @Override public String getName() { return SnapshotConstants.COMPLETE_SNAPSHOT_CANCEL_TASK_NAME; } CompleteCancelSnapshotTaskRunner(StorageProvider snapshotProvider,
                                            SnapshotStorageProvider unwrappedSnapshotProvider,
                                            String dcSnapshotUser,
                                            String bridgeAppHost,
                                            String bridgeAppPort,
                                            String bridgeAppUser,
                                            String bridgeAppPass); @Override String getName(); @Override String performTask(String taskParameters);  }
@Test public void testGetName() { replayAll(); setupSubject(); assertEquals(SnapshotConstants.COMPLETE_SNAPSHOT_CANCEL_TASK_NAME, taskRunner.getName()); }