Java 类org.assertj.core.api.filter.NotInFilter 实例源码

项目:extended-mockito    文件:AssertJ.java   
/**
 * Delegate call to public static org.assertj.core.api.filter.NotInFilter org.assertj.core.api.Assertions.notIn(java.lang.Object...)
 * {@link org.assertj.core.api.Assertions#notIn(java.lang.Object[])}
 */
default NotInFilter notIn(Object... valuesNotToMatch) {
    return Assertions.notIn(valuesNotToMatch);
}
项目:tdd-mixins-core    文件:AssertJ.java   
/**
 * Delegate call to public static org.assertj.core.api.filter.NotInFilter org.assertj.core.api.Assertions.notIn(java.lang.Object...)
 * {@link org.assertj.core.api.Assertions#notIn(java.lang.Object[])}
 */
default NotInFilter notIn(Object... valuesNotToMatch) {
    return Assertions.notIn(valuesNotToMatch);
}
项目:interface-it    文件:AssertJ.java   
/**
 * Delegate call to public static org.assertj.core.api.filter.NotInFilter org.assertj.core.api.Assertions.notIn(java.lang.Object...)
 * {@link org.assertj.core.api.Assertions#notIn(java.lang.Object[])}
 */
default NotInFilter notIn(Object... valuesNotToMatch) {
    return Assertions.notIn(valuesNotToMatch);
}
项目:assertj-core    文件:WithAssertions.java   
/**
 * Create a {@link FilterOperator} to use in {@link AbstractIterableAssert#filteredOn(String, FilterOperator)
 * filteredOn(String, FilterOperation)} to express a filter keeping all Iterable elements whose property/field
 * value matches does not match any of the given values.
 * <p>
 * As often, an example helps:
 * <pre><code class='java'> Employee yoda   = new Employee(1L, new Name("Yoda"), 800);
 * Employee obiwan = new Employee(2L, new Name("Obiwan"), 800);
 * Employee luke   = new Employee(3L, new Name("Luke", "Skywalker"), 26);
 * Employee noname = new Employee(4L, null, 50);
 *
 * List&lt;Employee&gt; employees = newArrayList(yoda, luke, obiwan, noname);
 *
 * assertThat(employees).filteredOn("age", notIn(800, 50))
 *                      .containsOnly(luke);</code></pre>
 *
 * @param valuesNotToMatch values not to match (none of the values must match)
 * @return the created "not in" filter
 * @since 3.9.0
 */
default NotInFilter notIn(Object... valuesNotToMatch) {
  return Assertions.notIn(valuesNotToMatch);
}
项目:assertj-core    文件:Java6Assertions.java   
/**
 * Create a {@link FilterOperator} to use in {@link AbstractIterableAssert#filteredOn(String, FilterOperator)
 * filteredOn(String, FilterOperation)} to express a filter keeping all Iterable elements whose property/field
 * value matches does not match any of the given values.
 * <p>
 * As often, an example helps:
 * <pre><code class='java'> Employee yoda   = new Employee(1L, new Name("Yoda"), 800);
 * Employee obiwan = new Employee(2L, new Name("Obiwan"), 800);
 * Employee luke   = new Employee(3L, new Name("Luke", "Skywalker"), 26);
 * Employee noname = new Employee(4L, null, 50);
 *
 * List&lt;Employee&gt; employees = newArrayList(yoda, luke, obiwan, noname);
 *
 * assertThat(employees).filteredOn("age", notIn(800, 50))
 *                      .containsOnly(luke);</code></pre>
 *
 * @param valuesNotToMatch values not to match (none of the values must match)
 * @return the created "not in" filter
 */
public static NotInFilter notIn(Object... valuesNotToMatch) {
  return NotInFilter.notIn(valuesNotToMatch);
}
项目:assertj-core    文件:AssertionsForClassTypes.java   
/**
 * Create a {@link FilterOperator} to use in {@link AbstractIterableAssert#filteredOn(String, FilterOperator)
 * filteredOn(String, FilterOperation)} to express a filter keeping all Iterable elements whose property/field
 * value matches does not match any of the given values.
 * <p>
 * As often, an example helps:
 * 
 * <pre><code class='java'> Employee yoda   = new Employee(1L, new Name("Yoda"), 800);
 * Employee obiwan = new Employee(2L, new Name("Obiwan"), 800);
 * Employee luke   = new Employee(3L, new Name("Luke", "Skywalker"), 26);
 * Employee noname = new Employee(4L, null, 50);
 * 
 * List&lt;Employee&gt; employees = newArrayList(yoda, luke, obiwan, noname);
 * 
 * assertThat(employees).filteredOn("age", notIn(800, 50))
 *                      .containsOnly(luke);</code></pre>
 * 
 * @param valuesNotToMatch values not to match (none of the values must match)
 * @return the created "not in" filter
 */
public static NotInFilter notIn(Object... valuesNotToMatch) {
  return NotInFilter.notIn(valuesNotToMatch);
}
项目:assertj-core    文件:Assertions.java   
/**
 * Create a {@link FilterOperator} to use in {@link AbstractIterableAssert#filteredOn(String, FilterOperator)
 * filteredOn(String, FilterOperation)} to express a filter keeping all Iterable elements whose property/field
 * value matches does not match any of the given values.
 * <p>
 * As often, an example helps:
 * <pre><code class='java'> Employee yoda   = new Employee(1L, new Name("Yoda"), 800);
 * Employee obiwan = new Employee(2L, new Name("Obiwan"), 800);
 * Employee luke   = new Employee(3L, new Name("Luke", "Skywalker"), 26);
 * Employee noname = new Employee(4L, null, 50);
 *
 * List&lt;Employee&gt; employees = newArrayList(yoda, luke, obiwan, noname);
 *
 * assertThat(employees).filteredOn("age", notIn(800, 50))
 *                      .containsOnly(luke);</code></pre>
 *
 * @param valuesNotToMatch values not to match (none of the values must match)
 * @return the created "not in" filter
 */
public static NotInFilter notIn(Object... valuesNotToMatch) {
  return NotInFilter.notIn(valuesNotToMatch);
}