public class SpecificationContext extends java.lang.Object implements ISpecificationContext
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GET_MOCK_CONTROLLER |
static java.lang.String |
GET_SHARED_INSTANCE |
static java.lang.String |
SET_THROWN_EXCEPTION |
| Constructor and Description |
|---|
SpecificationContext() |
| Modifier and Type | Method and Description |
|---|---|
IterationInfo |
getIterationInfo() |
IMockController |
getMockController() |
Specification |
getSharedInstance() |
java.lang.Throwable |
getThrownException() |
void |
setIterationInfo(IterationInfo iterationInfo) |
void |
setSharedInstance(Specification sharedInstance) |
void |
setThrownException(java.lang.Throwable exception) |
public static final java.lang.String GET_SHARED_INSTANCE
public static java.lang.String SET_THROWN_EXCEPTION
public static java.lang.String GET_MOCK_CONTROLLER
public Specification getSharedInstance()
public void setSharedInstance(Specification sharedInstance)
public IterationInfo getIterationInfo()
getIterationInfo in interface ISpecificationContextpublic void setIterationInfo(IterationInfo iterationInfo)
public java.lang.Throwable getThrownException()
getThrownException in interface ISpecificationContextpublic void setThrownException(java.lang.Throwable exception)
public IMockController getMockController()
getMockController in interface ISpecificationContextCopyright © 2015. All rights reserved