@Test public void getAllReturnsAListOfAllTheChildPrecipicesInOrder() { List<Precipice<TimeoutableResult, Rejected>> all = pattern.getAllPrecipices(); assertEquals(3, all.size()); assertEquals(precipice1, all.get(0)); assertEquals(precipice2, all.get(1)); assertEquals(precipice3, all.get(2)); }
public List<C> getAllPrecipices() { return pool; }
Pattern { public List<C> getAllPrecipices() { return pool; } }
Pattern { public List<C> getAllPrecipices() { return pool; } Pattern(Collection<C> precipices, PatternStrategy strategy);  Pattern(Collection<C> precipices, PatternStrategy strategy, SequenceFactory<C> sequenceFactory); }
Pattern { public List<C> getAllPrecipices() { return pool; } Pattern(Collection<C> precipices, PatternStrategy strategy);  Pattern(Collection<C> precipices, PatternStrategy strategy, SequenceFactory<C> sequenceFactory); Sequence<C> getPrecipices(long permits); Sequence<C> getPrecipices(long permits, long nanoTime); List<C> getAllPrecipices(); }
Pattern { public List<C> getAllPrecipices() { return pool; } Pattern(Collection<C> precipices, PatternStrategy strategy);  Pattern(Collection<C> precipices, PatternStrategy strategy, SequenceFactory<C> sequenceFactory); Sequence<C> getPrecipices(long permits); Sequence<C> getPrecipices(long permits, long nanoTime); List<C> getAllPrecipices();  }