### Question:
Operations { public static <T extends IPerson> Set<T> getByFriendliness(Configuration<T> configuration, double value) { return filterMatchingPersons(configuration, t -> t.getValue() == value); }  static Set<T> getByFriendliness(Configuration<T> configuration, double value); static Set<T> getByAssociation(Configuration<T> configuration, Association association); static Set<T> getInFriendlinessRange(Configuration<T> configuration, double rangeLower, double rangeUpper); static Set<T> filterMatchingPersons(Configuration<T> configuration, Predicate<T> predicate); static Configuration<T> introduceNewSafe(Configuration<T> configuration, T person); static Configuration<T> halveFriendlinessValues(Configuration<T> configuration); static Configuration<T> multiplyFriendlinessValues(Configuration<T> configuration, double multiplier); static Configuration<T> multiplyFriendlinessValuesInRange(Configuration<T> configuration, double multiplier, double rangeLower, double rangeUpper);  }### Answer:
@Test @DisplayName("Get by friendliness") void getByFriendliness() { assertEquals("bar", Operations.getByFriendliness(configuration, 2).stream().findAny().get().getName()); }