### Question:
ProcessHelper { public static Set<SchedulableEntityInstance> getOutputFeedInstances(Process process, Date instanceTime, org.apache.falcon.entity.v0.cluster.Cluster cluster) throws FalconException { Set<SchedulableEntityInstance> result = new HashSet<>(); validateProcessInstance(process, instanceTime, cluster); if (process.getOutputs() != null && process.getOutputs().getOutputs() != null) { ExpressionHelper.setReferenceDate(instanceTime); ExpressionHelper evaluator = ExpressionHelper.get(); SchedulableEntityInstance candidate; ConfigurationStore store = ConfigurationStore.get(); for (Output output : process.getOutputs().getOutputs()) { Date outputInstance = evaluator.evaluate(output.getInstance(), Date.class); Feed feed = store.get(EntityType.FEED, output.getFeed()); org.apache.falcon.entity.v0.feed.Cluster fCluster = FeedHelper.getCluster(feed, cluster.getName()); outputInstance = EntityUtil.getPreviousInstanceTime(fCluster.getValidity().getStart(), feed.getFrequency(), feed.getTimezone(), outputInstance); candidate = new SchedulableEntityInstance(output.getFeed(), cluster.getName(), outputInstance, EntityType.FEED); candidate.setTags(SchedulableEntityInstance.OUTPUT); result.add(candidate); } } return result; } private  ProcessHelper(); static Cluster getCluster(Process process, String clusterName); static String getProcessWorkflowName(String workflowName, String processName); static Storage.TYPE getStorageType(org.apache.falcon.entity.v0.cluster.Cluster cluster,
                                              Process process); static Set<SchedulableEntityInstance> getInputFeedInstances(Process process, Date instanceTime,
               org.apache.falcon.entity.v0.cluster.Cluster cluster, boolean allowOptionalFeeds); static Set<SchedulableEntityInstance> getOutputFeedInstances(Process process, Date instanceTime,
                                        org.apache.falcon.entity.v0.cluster.Cluster cluster); static Validity getClusterValidity(Process process, String clusterName); static Sla getSLA(String clusterName, Process process); static Sla getSLA(Cluster cluster, Process process); static Date getProcessValidityStart(Process process, String clusterName);  }### Answer:
@Test public void testGetOutputFeedInstances() throws FalconException, ParseException { Cluster cluster = publishCluster(); Feed feed = publishFeed(cluster, "days(1)", "2012-02-27 11:00 UTC", "2016-02-28 11:00 UTC"); Process process = prepareProcess(cluster, "days(1)", "2012-02-28 10:00 UTC", "2016-02-28 10:00 UTC"); Outputs outputs = new Outputs(); outputs.getOutputs().add(getOutput("outputFeed", feed.getName(), "now(0,0)")); process.setOutputs(outputs); store.publish(EntityType.PROCESS, process); Set<SchedulableEntityInstance> result = ProcessHelper.getOutputFeedInstances(process, getDate("2012-02-28 10:00 UTC"), cluster); Set<SchedulableEntityInstance> expected = new HashSet<>(); SchedulableEntityInstance ins = new SchedulableEntityInstance(feed.getName(), cluster.getName(), getDate("2012-02-27 11:00 UTC"), EntityType.FEED); ins.setTags(SchedulableEntityInstance.OUTPUT); expected.add(ins); Assert.assertEquals(result, expected); }