public class WsdlMockRunContext extends Object implements MockRunContext, Map<String,Object>, TestCaseRunContext, Cloneable
INTERACTIVE, LOAD_TEST_CONTEXT, LOAD_TEST_RUNNER, RUN_COUNT, THREAD_INDEX, TOTAL_RUN_COUNT
HTTP_STATE_PROPERTY, PROPERTY_SEPARATOR
Constructor and Description |
---|
WsdlMockRunContext(MockService mockService,
WsdlTestRunContext context) |
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public WsdlMockRunContext(MockService mockService, WsdlTestRunContext context)
public MockService getMockService()
getMockService
in interface MockRunContext
public Object getProperty(String name)
getProperty
in interface PropertyExpansionContext
public boolean hasProperty(String name)
hasProperty
in interface PropertyExpansionContext
public Object removeProperty(String name)
removeProperty
in interface PropertyExpansionContext
public void setProperty(String name, Object value)
setProperty
in interface PropertyExpansionContext
public StringToStringMap toStringToStringMap()
toStringToStringMap
in interface MockRunContext
public boolean containsKey(Object arg0)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object arg0)
containsValue
in interface Map<String,Object>
public boolean equals(Object arg0)
public int hashCode()
public TestStep getCurrentStep()
getCurrentStep
in interface TestCaseRunContext
public int getCurrentStepIndex()
getCurrentStepIndex
in interface TestCaseRunContext
public Object getProperty(String testStep, String propertyName)
getProperty
in interface TestCaseRunContext
public TestCaseRunner getTestRunner()
getTestRunner
in interface TestCaseRunContext
getTestRunner
in interface TestRunContext
public TestCase getTestCase()
getTestCase
in interface TestCaseRunContext
public Settings getSettings()
public void setMockResponse(MockResponse mockResponse)
setMockResponse
in interface MockRunContext
public MockResponse getMockResponse()
getMockResponse
in interface MockRunContext
public ModelItem getModelItem()
getModelItem
in interface PropertyExpansionContext
public String expand(String content)
expand
in interface PropertyExpansionContext
expand
in interface TestRunContext
public String[] getPropertyNames()
getPropertyNames
in interface PropertyExpansionContext
public StringToObjectMap getProperties()
getProperties
in interface PropertyExpansionContext
public MockRunner getMockRunner()
getMockRunner
in interface MockRunContext
public void reset()
Copyright © 2019. All Rights Reserved.