Package org.jtester.hamcrest.matcher.clazz

Examples of org.jtester.hamcrest.matcher.clazz.ClassAssignFromMatcher


    Matcher matcher = Is.isA(expected);
    return this.assertThat(matcher);
  }

  public E clazIsSubFrom(Class claz) {
    ClassAssignFromMatcher matcher = new ClassAssignFromMatcher(claz);
    return this.assertThat(matcher);
  }
View Full Code Here


  public <F> F wanted(Class<F> claz) {
    if (this.type == AssertType.AssertStyle) {
      throw new JTesterException("is not an Expectations");
    }
    if (claz.isPrimitive() == false) {
      assertThat(new ClassAssignFromMatcher(claz));
    }
    if (ExpectationsUtil.isJmockitExpectations()) {
      ExpectationsUtil.addArgMatcher(this);
    }
View Full Code Here

TOP

Related Classes of org.jtester.hamcrest.matcher.clazz.ClassAssignFromMatcher

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.