public class AwsCucumberStepdefs extends Object
Constructor | Description |
---|---|
AwsCucumberStepdefs(AmazonWebServiceClient client) |
Modifier and Type | Method | Description |
---|---|---|
void |
andIExpectTheResponseErrorMessageInclude(String expected) |
|
void |
thenIExpectResponseErrorCode(String expected) |
|
void |
thenTheValueAtShouldBeAList(String memberName) |
|
void |
thenTheValueAtShouldBeAMap(String memberName) |
|
void |
theResponseShouldContainA(String memberName) |
|
void |
whenIAttemptToCallApi(String operation,
Map<String,String> args) |
|
void |
whenICallTheApi(String operation) |
|
void |
whenICallTheApi(String operation,
Map<String,String> args) |
@Inject public AwsCucumberStepdefs(AmazonWebServiceClient client)
@When("^I call the \"(.*?)\" API$") public void whenICallTheApi(String operation) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@When("^I call the \"(.*?)\" API with:$") public void whenICallTheApi(String operation, Map<String,String> args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@When("^I attempt to call the \"(.+?)\" API with:$") public void whenIAttemptToCallApi(String operation, Map<String,String> args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@Then("^the response should contain a \"([^\"]*)\"$") public void theResponseShouldContainA(String memberName) throws Throwable
Throwable
@Then("^the value at \"(.*?)\" should be a list") public void thenTheValueAtShouldBeAList(String memberName)
@Then("^the value at \"(.*?)\" should be a map") public void thenTheValueAtShouldBeAMap(String memberName)
@Then("^I expect the response error code to be \"(.+?)\"$") public void thenIExpectResponseErrorCode(String expected)
@And("^I expect the response error message to include:$") public void andIExpectTheResponseErrorMessageInclude(String expected)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.