Examples of ReflectionEqualMatcher


Examples of org.jtester.hamcrest.matcher.property.ReflectionEqualMatcher

  public E eqByReflect(Object expected, EqMode... modes) {
    if (expected instanceof Matcher) {
      throw new AssertionError("please use method[propertyMatch(String, Matcher)]");
    } else {
      ReflectionEqualMatcher matcher = new ReflectionEqualMatcher(expected, modes);
      return this.assertThat(matcher);
    }
  }
View Full Code Here

Examples of org.jtester.hamcrest.matcher.property.ReflectionEqualMatcher

  public E eqIgnoreDefault(Object expected) {
    if (expected instanceof Matcher) {
      throw new AssertionError("please use method[propertyMatch(String, Matcher)]");
    }
    ReflectionEqualMatcher matcher = new ReflectionEqualMatcher(expected, new EqMode[] { EqMode.IGNORE_DEFAULTS });
    return this.assertThat(matcher);
  }
View Full Code Here

Examples of org.jtester.hamcrest.matcher.property.ReflectionEqualMatcher

  public E eqIgnoreOrder(Object expected) {
    if (expected instanceof Matcher) {
      throw new AssertionError("please use method[propertyMatch(String, Matcher)]");
    }
    ReflectionEqualMatcher matcher = new ReflectionEqualMatcher(expected, new EqMode[] { EqMode.IGNORE_ORDER });
    return this.assertThat(matcher);
  }
View Full Code Here

Examples of org.jtester.hamcrest.matcher.property.ReflectionEqualMatcher

  public E eqIgnoreAll(Object expected) {
    if (expected instanceof Matcher) {
      throw new AssertionError("please use method[propertyMatch(String, Matcher)]");
    }
    ReflectionEqualMatcher matcher = new ReflectionEqualMatcher(expected, new EqMode[] { EqMode.IGNORE_ORDER,
        EqMode.IGNORE_DEFAULTS, EqMode.IGNORE_DATES });
    return this.assertThat(matcher);
  }
View Full Code Here

Examples of org.jtester.hamcrest.matcher.property.ReflectionEqualMatcher

  public ListAssert(T value, Class<? extends IAssert> clazE) {
    super(value, clazE);
  }

  public E isEqualTo(Object expected, EqMode... modes) {
    ReflectionEqualMatcher matcher = new ReflectionEqualMatcher(expected, modes);
    return this.assertThat(matcher);
  }
View Full Code Here

Examples of org.jtester.hamcrest.matcher.property.ReflectionEqualMatcher

    ReflectionEqualMatcher matcher = new ReflectionEqualMatcher(expected, modes);
    return this.assertThat(matcher);
  }

  public E eqIgnoreOrder(Object expected) {
    ReflectionEqualMatcher matcher = new ReflectionEqualMatcher(expected, new EqMode[] { EqMode.IGNORE_ORDER });
    return this.assertThat(matcher);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.