@Test public void shouldReturnOkIfAttributeExistsWithComplexStructure() { given(webServiceConnector.getBody()).willReturn("{\"awesome_field\": {\"foo\": \"Fooooobar.\"," + "\"other\": [\"Lorem Ipsum.\", \"Hello World!\"]}}"); c.setAttribute("awesome_field.foo"); ExecuteResult result = c.executeAction(connectors); assertTrue(result.isSuccess()); }
public void setAttribute(String attribute) { this.attribute = attribute; }
CheckAttributeExistsAction extends RESTSymbolAction { public void setAttribute(String attribute) { this.attribute = attribute; } }
CheckAttributeExistsAction extends RESTSymbolAction { public void setAttribute(String attribute) { this.attribute = attribute; }  }
CheckAttributeExistsAction 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); }
CheckAttributeExistsAction 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);  }