| Package | Description |
|---|---|
| org.spockframework.lang | |
| org.spockframework.mock |
Spock's built-in mocking framework.
|
| org.spockframework.mock.runtime |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
SpecInternals.createMock(java.lang.String name,
java.lang.Class<?> type,
MockNature nature,
MockImplementation implementation,
java.util.Map<java.lang.String,java.lang.Object> options,
groovy.lang.Closure closure) |
| Modifier and Type | Method and Description |
|---|---|
MockImplementation |
IMockConfiguration.getImplementation()
Returns the implementation of the mock object.
|
static MockImplementation |
MockImplementation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MockImplementation[] |
MockImplementation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
MockImplementation |
MockConfiguration.getImplementation() |
| Constructor and Description |
|---|
MockConfiguration(java.lang.String name,
java.lang.Class<?> type,
MockNature nature,
MockImplementation implementation,
java.util.Map<java.lang.String,java.lang.Object> options) |
Copyright © 2015. All rights reserved