CreateSnapshotTaskRunner extends SpaceModifyingSnapshotTaskRunner { @Override public String getName() { return SnapshotConstants.CREATE_SNAPSHOT_TASK_NAME; } CreateSnapshotTaskRunner(StorageProvider snapshotProvider,
                                    SnapshotStorageProvider unwrappedSnapshotProvider,
                                    String dcHost,
                                    String dcPort,
                                    String dcStoreId,
                                    String dcAccountName,
                                    String dcSnapshotUser,
                                    String bridgeAppHost,
                                    String bridgeAppPort,
                                    String bridgeAppUser,
                                    String bridgeAppPass,
                                    String bridgeMemberId); @Override String getName(); @Override String performTask(String taskParameters);  }
@Test public void testGetName() { replayMocks(); assertEquals("create-snapshot", taskRunner.getName()); }