Package | Description |
---|---|
org.spockframework.lang | |
org.spockframework.mock |
Spock's built-in mocking framework.
|
org.spockframework.mock.runtime |
Modifier and Type | Method | 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 | 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 | Description |
---|---|---|
MockImplementation |
MockConfiguration.getImplementation() |
Constructor | 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 © 2018. All rights reserved