public class InMemoryStubMappings extends java.lang.Object implements StubMappings
| Constructor and Description |
|---|
InMemoryStubMappings() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMapping(StubMapping mapping) |
java.util.List<StubMapping> |
getAll() |
void |
reset() |
void |
resetScenarios() |
ResponseDefinition |
serveFor(Request request) |
public ResponseDefinition serveFor(Request request)
serveFor in interface StubMappingspublic void addMapping(StubMapping mapping)
addMapping in interface StubMappingspublic void reset()
reset in interface StubMappingspublic void resetScenarios()
resetScenarios in interface StubMappingspublic java.util.List<StubMapping> getAll()
getAll in interface StubMappings