The mock runner is responsible for setting up a server on a port. It listens to requests and dispatches them to the correct target.
| Type Params | Return Type | Name and description |
|---|---|---|
|
MockRunContext |
getMockContext()
|
|
boolean |
isRunning()@return true if this runner is running - false otherwise. |
|
void |
start()Start this runner. |
|
void |
stop()Stop this runner. |
| Methods inherited from class | Name |
|---|---|
interface GenericMockDispatcher |
clearResults, dispatchRequest, getMockResultAt, getMockResultCount, setLogEnabled, setMaxResults |
Start this runner. If already started - do nothing.
Stop this runner. If not running - do nothing.