public class AWSCucumberStepdefs extends Object
Constructor and Description |
---|
AWSCucumberStepdefs(AmazonWebServiceClient client) |
Modifier and Type | Method and Description |
---|---|
void |
and_I_expect_the_response_error_message_include(String expected) |
void |
the_response_should_contain_a(String memberName) |
void |
then_I_expect_response_error_code(String expected) |
void |
then_the_value_at_should_be_a_list(String memberName) |
void |
then_the_value_at_should_be_a_map(String memberName) |
void |
when_I_attempt_to_call_API(String operation,
Map<String,String> args) |
void |
when_I_call_the_API(String operation) |
void |
when_I_call_the_API(String operation,
Map<String,String> args) |
@Inject public AWSCucumberStepdefs(AmazonWebServiceClient client)
@When(value="^I call the \"(.*?)\" API$") public void when_I_call_the_API(String operation) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@When(value="^I call the \"(.*?)\" API with:$") public void when_I_call_the_API(String operation, Map<String,String> args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@When(value="^I attempt to call the \"(.+?)\" API with:$") public void when_I_attempt_to_call_API(String operation, Map<String,String> args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@Then(value="^the response should contain a \"([^\"]*)\"$") public void the_response_should_contain_a(String memberName) throws Throwable
Throwable
@Then(value="^the value at \"(.*?)\" should be a list") public void then_the_value_at_should_be_a_list(String memberName)
@Then(value="^the value at \"(.*?)\" should be a map") public void then_the_value_at_should_be_a_map(String memberName)
@Then(value="^I expect the response error code to be \"(.+?)\"$") public void then_I_expect_response_error_code(String expected)
@And(value="^I expect the response error message to include:$") public void and_I_expect_the_response_error_message_include(String expected)
Copyright © 2024. All rights reserved.