ExecutableFlowRampMetadata { public Set<String> getActiveRamps() { return this.rampPropsMap.entrySet() .stream() .filter(item -> ExecutableRampStatus.SELECTED.name() .equalsIgnoreCase(item.getValue().getSource())) .map(item -> item.getKey()).collect(Collectors.toSet()); } private  ExecutableFlowRampMetadata(); static ExecutableFlowRampMetadata createInstance(
      ExecutableRampDependencyMap executableRampDependencyMap,
      Map<String, ExecutableRampExceptionalItems> exceptionalJobTreatments); ExecutableFlowRampMetadata setRampProps(String ramp, Props props); String getRampItemValue(final String ramp, final String key); ExecutableFlowRampMetadata setExecutableRampDependencyMap(
      ExecutableRampDependencyMap executableRampDependencyMap); Map<String,ExecutableRampExceptionalItems> getExceptionalJobTreatments(); ExecutableFlowRampMetadata setExceptionalJobTreatments(
      Map<String, ExecutableRampExceptionalItems> exceptionalJobTreatments); Set<String> getActiveRamps(); synchronized Props selectRampPropsForJob(@NotNull final String jobId, @NotNull final String jobType);  }
@Test public void testEmptySet() { Assert.assertTrue(executableMetadata.getActiveRamps().isEmpty()); }