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 |
---|---|
MockNature |
IMockConfiguration.getNature()
Returns the nature of the mock object.
|
static MockNature |
MockNature.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MockNature[] |
MockNature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
MockNature |
MockConfiguration.getNature() |
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 © 2017. All rights reserved