@Then("^response contains \"(.+)\"$") public void response_Body_Contains(String body) { this.assertionFacade.bodyContains(body); }
@Then("^response contains an array \"([^\"]+)\" with value \"(.*)\"$") public void response_Body_Contains_Array_With_Property(String path, String value) { this.assertionFacade.bodyContainsArrayWithEntryHavingValue(path, value); }
@Then("^response contains an array \"([^\"]+)\" with object having property \"(.+)\" with value \"(.+)\"$") public void responseBodyContainsArrayWithObjectHavingProperty(String path, String property, String value) { this.assertionFacade.bodyContainsArrayWithObjectHavingProperty(path, property, value); }
@Then("^response contains an array \"(.+)\" of size (>=|>|<=|<|<>) (\\d+)$") public void response_Body_Contains_Array_With_Operator_Size(String path, String operator, Integer size) { this.assertionFacade.bodyContainsArrayWithSize(path, operator + size); }
@Then("^response contains property \"(.+)\" with value \"(.*)\"$") public void response_Body_Contains_Property(String path, String value) { this.assertionFacade.bodyContainsPathWithValue(path, value); }
@Then("^response contains property \"(.+)\" not matching pattern \"(.+)\"$") public void response_Body_Contains_Property_Not_Matching_Pattern(String path, String pattern) { this.assertionFacade.bodyContainsPathNotMatchingPattern(path, pattern); }
@Then("^response contains property \"(.+)\" containing phrase \"(.*)\"$") public void response_Body_Contains_Property_With_Phrase(String jsonPath, String phrase) { this.assertionFacade.bodyContainsJsonPathValueContainingPhrase(jsonPath, phrase); }
@Then("^response contains property \"(.+)\" matching pattern \"(.+)\"$") public void response_Body_Contains_Property_Matching_Pattern(String path, String pattern) { this.assertionFacade.bodyContainsPathMatchingPattern(path, pattern); }
@Then("^response contains property \"(.+)\" of type \"(.+)\"$") public void response_Body_Contains_Property_Of_Type(String path, String type) { this.assertionFacade.bodyContainsPathOfType(path, type); }
@Then("^response contains property \"(.+)\" with value other than \"(.*)\"$") public void response_Body_Contains_Property_Other_Value(String path, String value) { this.assertionFacade.bodyContainsPathWithOtherValue(path, value); }
@Then("^response contains an array \"(.+)\" of size (\\d+)$") public void response_Body_Contains_Array_With_Size(String path, Integer size) { this.assertionFacade.bodyContainsArrayWithSize(path, size.toString()); }
@Then("^response contains property \"(.+)\" with value:$") public void response_Body_Contains_Property_Multiline(String path, String value) { this.assertionFacade.bodyContainsPathWithValue(path, value); }
@Then("^response contains property \"(.+)\" not matching pattern \"(.+)\"$") public void response_Body_Contains_Property_Not_Matching_Pattern(String path, String pattern) { this.assertionFacade.bodyContainsPathNotMatchingPattern(path, pattern); }
@Then("^response contains property \"(.+)\" containing phrase \"(.*)\"$") public void response_Body_Contains_Property_With_Phrase(String jsonPath, String phrase) { this.assertionFacade.bodyContainsJsonPathValueContainingPhrase(jsonPath, phrase); }
@Then("^response contains property \"(.+)\" matching pattern \"(.+)\"$") public void response_Body_Contains_Property_Matching_Pattern(String path, String pattern) { this.assertionFacade.bodyContainsPathMatchingPattern(path, pattern); }
@Then("^response contains property \"(.+)\" of type \"(.+)\"$") public void response_Body_Contains_Property_Of_Type(String path, String type) { this.assertionFacade.bodyContainsPathOfType(path, type); }
@Then("^response contains property \"(.+)\" with value other than \"(.*)\"$") public void response_Body_Contains_Property_Other_Value(String path, String value) { this.assertionFacade.bodyContainsPathWithOtherValue(path, value); }
@Then("^response contains an array \"(.+)\" of size (>=|>|<=|<|<>) (\\d+)$") public void response_Body_Contains_Array_With_Operator_Size(String path, String operator, Integer size) { this.assertionFacade.bodyContainsArrayWithSize(path, operator + size); }
@Then("^response contains property \"(.+)\" with value:$") public void response_Body_Contains_Property_Multiline(String path, String value) { this.assertionFacade.bodyContainsPathWithValue(path, value); }
@Then("^response contains an array \"([^\"]+)\" with value \"(.*)\"$") public void response_Body_Contains_Array_With_Property(String path, String value) { this.assertionFacade.bodyContainsArrayWithEntryHavingValue(path, value); }