org.jboss.aspects.mock
Annotation Type Replace
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Replace
This annotation is used by tests to describe a specific method that is to
be intercepted and replaced by a call to a given other method in order to
control isolation of unit tests.
- Author:
- Thomas Roka-Aardal
invocation
public abstract String invocation
callbackClass
public abstract String callbackClass
callbackMethod
public abstract String callbackMethod
expectedCalls
public abstract long expectedCalls
- Default:
- 9223372036854775807L
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.