RequestRestoreSnapshotTaskRunner extends AbstractSnapshotTaskRunner { @Override public String getName() { return SnapshotConstants.REQUEST_RESTORE_SNAPSHOT_TASK_NAME; } RequestRestoreSnapshotTaskRunner(String dcHost,
                                            String dcPort,
                                            String dcStoreId,
                                            String dcSnapshotUser,
                                            String bridgeAppHost,
                                            String bridgeAppPort,
                                            String bridgeAppUser,
                                            String bridgeAppPass); @Override String getName(); @Override String performTask(String taskParameters);  }
@Test public void testGetName() { replayMocks(); assertEquals("request-restore-snapshot", taskRunner.getName()); }