for (Object o : list) { if (o instanceof OMTextImpl) { textValue.append(((OMTextImpl) o).getText());
textValue.append(((OMTextImpl) o).getText()); } else if (o instanceof OMElementImpl) { if (list.size() == 1) {
String endpointDetail = ((OMTextImpl) ((OMElementImpl) element).getFirstOMChildIfAvailable()).getText();
for (int i = 0; i < result.size(); i++) { Assert.assertEquals( result.get(i).getText(), esbRestResponse.getBody().getJSONObject("VerifyDomainDkimResponse") .getJSONObject("VerifyDomainDkimResult").getJSONObject("DkimTokens").getJSONArray("member")
for (int i = 0; i < result.size(); i++) { Assert.assertEquals( result.get(i).getText(), esbRestResponse.getBody().getJSONObject("ListIdentitiesResponse") .getJSONObject("ListIdentitiesResult").getJSONObject("Identities").getJSONArray("member")
for (int i = 0; i < result.size(); i++) { Assert.assertEquals( result.get(i).getText(), esbRestResponse.getBody().getJSONObject("GetIdentityDkimAttributesResponse") .getJSONObject("GetIdentityDkimAttributesResult").getJSONObject("DkimAttributes")
for (int i = 0; i < result.size(); i++) { Assert.assertEquals( result.get(i).getText(), esbRestResponse.getBody().getJSONObject("GetIdentityVerificationAttributesResponse") .getJSONObject("GetIdentityVerificationAttributesResult")
for (int i = 0; i < result.size(); i++) { Assert.assertEquals( result.get(i).getText(), esbRestResponse.getBody().getJSONObject("ListIdentitiesResponse") .getJSONObject("ListIdentitiesResult").getJSONObject("Identities").getJSONArray("member")
for (int i = 0; i < result.size(); i++) { Assert.assertEquals( result.get(i).getText(), esbRestResponse.getBody().getJSONObject("GetIdentityNotificationAttributesResponse") .getJSONObject("GetIdentityNotificationAttributesResult")
assert inlineOMNode != null || inlineKey != null : "inlineJSONNode or key shouldn't be null when type is INLINE"; if (inlineOMNode != null && inlineOMNode instanceof OMText) { object = JsonPath.parse(((OMTextImpl) inlineOMNode).getText()).json(); } else if (inlineKey != null && !inlineKey.trim().equals("")) { Object inlineObj = synCtx.getEntry(inlineKey);