Package org.apache.isis.core.unittestsupport.jmocking

Examples of org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2


    }
    mocks.add(mock);
  }

  private <T> void checking(final Field field, final T mock) {
    Checking checking = field.getAnnotation(Checking.class);
    @SuppressWarnings("unchecked")
    Class<? extends ExpectationsOn<T>> expectationsOnClass = (Class<? extends ExpectationsOn<T>>) checking.value();
    context.checking(mock, expectationsOnClass);
  }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2

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.