@Test public void shouldReturnOkIfAttributeWithRightValueExistsWithComplexStructure() { given(webServiceConnector.getBody()).willReturn("{\"awesome_field\": {\"foo\": \"Hello World!\"," + "\"other\": [\"Lorem Ipsum.\", \"Fooooobar.\"]}}"); c.setAttribute("awesome_field.foo"); ExecuteResult result = c.executeAction(connectors); assertTrue(result.isSuccess()); }
public void setAttribute(String attribute) { this.attribute = attribute; }
CheckAttributeValueAction extends RESTSymbolAction { public void setAttribute(String attribute) { this.attribute = attribute; } }
CheckAttributeValueAction extends RESTSymbolAction { public void setAttribute(String attribute) { this.attribute = attribute; }  }
CheckAttributeValueAction extends RESTSymbolAction { public void setAttribute(String attribute) { this.attribute = attribute; }  @Override ExecuteResult execute(WebServiceConnector target); String getAttribute(); @Transient @JsonIgnore String getAttributeWithVariableValues(); void setAttribute(String attribute); String getValue(); @Transient @JsonIgnore String getValueWithVariableValues(); void setValue(String value); boolean isRegexp(); void setRegexp(boolean regexp); }
CheckAttributeValueAction extends RESTSymbolAction { public void setAttribute(String attribute) { this.attribute = attribute; }  @Override ExecuteResult execute(WebServiceConnector target); String getAttribute(); @Transient @JsonIgnore String getAttributeWithVariableValues(); void setAttribute(String attribute); String getValue(); @Transient @JsonIgnore String getValueWithVariableValues(); void setValue(String value); boolean isRegexp(); void setRegexp(boolean regexp);  }