Package org.assertj.core.internal

Examples of org.assertj.core.internal.FieldByFieldComparator


   * </pre>
   *
   * @return {@code this} assertion object.
   */
  public S usingFieldByFieldElementComparator() {
  return usingElementComparator(new FieldByFieldComparator());
  }
View Full Code Here


  @Test
  public void succesful_isIn_assertion_using_field_by_field_element_comparator() {
  List<Foo> list1 = singletonList(new Foo("id", 1));
  List<Foo> list2 = singletonList(new Foo("id", 1));
  System.out.println(new FieldByFieldComparator());
  assertThat(list1).usingFieldByFieldElementComparator().isIn(singletonList(list2));
  }
View Full Code Here

TOP

Related Classes of org.assertj.core.internal.FieldByFieldComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.