java.lang.Object |
MockingApi.GroovyMock() |
Creates a Groovy mock whose type and name are inferred from the left-hand side of the enclosing variable assignment.
|
java.lang.Object |
MockingApi.GroovyMock(groovy.lang.Closure interactions) |
Creates a Groovy mock with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.GroovyMock(java.lang.Class<T> type) |
Creates a Groovy mock with the specified type.
|
<T> T |
MockingApi.GroovyMock(java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a Groovy mock with the specified type and interactions.
|
java.lang.Object |
MockingApi.GroovyMock(java.util.Map<java.lang.String,java.lang.Object> options) |
Creates a Groovy mock with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
|
java.lang.Object |
MockingApi.GroovyMock(java.util.Map<java.lang.String,java.lang.Object> options,
groovy.lang.Closure interactions) |
Creates a Groovy mock with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.GroovyMock(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type) |
Creates a Groovy mock with the specified options and type.
|
<T> T |
MockingApi.GroovyMock(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a Groovy mock with the specified options, type, and interactions.
|
java.lang.Object |
MockingApi.GroovySpy() |
Creates a Groovy spy whose type and name are inferred from the left-hand side of the enclosing variable assignment.
|
java.lang.Object |
MockingApi.GroovySpy(groovy.lang.Closure interactions) |
Creates a Groovy spy with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.GroovySpy(java.lang.Class<T> type) |
Creates a Groovy spy with the specified type.
|
<T> T |
MockingApi.GroovySpy(java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a Groovy spy with the specified type and interactions.
|
java.lang.Object |
MockingApi.GroovySpy(java.util.Map<java.lang.String,java.lang.Object> options) |
Creates a Groovy spy with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
|
java.lang.Object |
MockingApi.GroovySpy(java.util.Map<java.lang.String,java.lang.Object> options,
groovy.lang.Closure interactions) |
Creates a Groovy spy with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.GroovySpy(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type) |
Creates a Groovy spy with the specified options and type.
|
<T> T |
MockingApi.GroovySpy(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a Groovy spy with the specified options, type, and interactions.
|
java.lang.Object |
MockingApi.GroovyStub() |
Creates a Groovy stub whose type and name are inferred from the left-hand side of the enclosing variable assignment.
|
java.lang.Object |
MockingApi.GroovyStub(groovy.lang.Closure interactions) |
Creates a Groovy stub with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.GroovyStub(java.lang.Class<T> type) |
Creates a Groovy stub with the specified type.
|
<T> T |
MockingApi.GroovyStub(java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a Groovy stub with the specified type and interactions.
|
java.lang.Object |
MockingApi.GroovyStub(java.util.Map<java.lang.String,java.lang.Object> options) |
Creates a Groovy stub with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
|
java.lang.Object |
MockingApi.GroovyStub(java.util.Map<java.lang.String,java.lang.Object> options,
groovy.lang.Closure interactions) |
Creates a Groovy stub with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.GroovyStub(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type) |
Creates a Groovy stub with the specified options and type.
|
<T> T |
MockingApi.GroovyStub(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a Groovy stub with the specified options, type, and interactions.
|
java.lang.Object |
MockingApi.Mock(groovy.lang.Closure interactions) |
Creates a mock with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.Mock(java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a mock with the specified type and interactions.
|
java.lang.Object |
MockingApi.Mock(java.util.Map<java.lang.String,java.lang.Object> options) |
Creates a mock with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
|
java.lang.Object |
MockingApi.Mock(java.util.Map<java.lang.String,java.lang.Object> options,
groovy.lang.Closure interactions) |
Creates a mock with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.Mock(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type) |
Creates a mock with the specified options and type.
|
<T> T |
MockingApi.Mock(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a mock with the specified options, type, and interactions.
|
java.lang.Object |
MockingApi.Spy() |
Creates a spy whose type and name are inferred from the left-hand side of the enclosing variable assignment.
|
java.lang.Object |
MockingApi.Spy(groovy.lang.Closure interactions) |
Creates a spy with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.Spy(java.lang.Class<T> type) |
Creates a spy with the specified type.
|
<T> T |
MockingApi.Spy(java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a spy with the specified type and interactions.
|
java.lang.Object |
MockingApi.Spy(java.util.Map<java.lang.String,java.lang.Object> options) |
Creates a spy with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
|
java.lang.Object |
MockingApi.Spy(java.util.Map<java.lang.String,java.lang.Object> options,
groovy.lang.Closure interactions) |
Creates a spy with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.Spy(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type) |
Creates a spy with the specified options and type.
|
<T> T |
MockingApi.Spy(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a spy with the specified options, type, and interactions.
|
java.lang.Object |
MockingApi.Stub() |
Creates a stub whose type and name are inferred from the left-hand side of the enclosing variable assignment.
|
java.lang.Object |
MockingApi.Stub(groovy.lang.Closure interactions) |
Creates a stub with the specified interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.Stub(java.lang.Class<T> type) |
Creates a stub with the specified type.
|
<T> T |
MockingApi.Stub(java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a stub with the specified type and interactions.
|
java.lang.Object |
MockingApi.Stub(java.util.Map<java.lang.String,java.lang.Object> options) |
Creates a stub with the specified options whose type and name are inferred from the left-hand side of the
enclosing variable assignment.
|
java.lang.Object |
MockingApi.Stub(java.util.Map<java.lang.String,java.lang.Object> options,
groovy.lang.Closure interactions) |
Creates a stub with the specified options and interactions whose type and name are inferred
from the left-hand side of the enclosing assignment.
|
<T> T |
MockingApi.Stub(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type) |
Creates a stub with the specified options and type.
|
<T> T |
MockingApi.Stub(java.util.Map<java.lang.String,java.lang.Object> options,
java.lang.Class<T> type,
groovy.lang.Closure interactions) |
Creates a stub with the specified options, type, and interactions.
|
void |
Specification.with(java.lang.Object object,
groovy.lang.Closure closure) |
|