Conditions { @NonNull public static Condition any(@NonNull final Condition... conditions) { return composite(conditions, falseCondition(), trueCondition()); } private  Conditions(); @NonNull static Condition trueCondition(); @NonNull static Condition falseCondition(); @NonNull static Condition staticCondition(final boolean value); @NonNull static Condition not(@NonNull final Condition condition); @NonNull static Condition any(@NonNull final Condition... conditions); @NonNull static Condition all(@NonNull final Condition... conditions); @NonNull static Condition predicateAsCondition(@NonNull final Predicate<T> predicate,
      @NonNull final Supplier<? extends T> supplier);  }
@Test public void shouldReturnOriginalConditionIfAnyOfOne() { assertThat(any(mockConditionFalse), is(sameInstance(mockConditionFalse))); }
@Test public void shouldReturnTrueForAnyWithNonStaticOneTrueCondition() { assertThat(any(mockConditionTrue, mockConditionFalse), applies()); }
@Test public void shouldReturnFalseForAnyWithNonStaticNoTrueCondition() { assertThat(any(mockConditionFalse, mockConditionFalse), doesNotApply()); }