### Question:
ResponseInfoXPathSet { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("requestIdXPath", requestIdXPath) .add("responseTimeXPath", responseTimeXPath) .add("operationsCountXPath", operationsCountXPath) .toString(); } @Inject  ResponseInfoXPathSet(AdsApiConfiguration apiConfig, NodeExtractor nodeExtractor); IterableXPath getRequestIdXPath(); IterableXPath getResponseTimeXPath(); IterableXPath getOperationsCountXPath(); @Override String toString(); ResponseInfo.Builder parseMessage(ResponseInfo.Builder builder, SOAPMessage soapMessage);  }### Answer:
@Test public void testToString() { String toString = xPathSet.toString(); assertThat( "Missing label for request ID XPath", toString, Matchers.containsString("requestIdXPath")); assertThat( "Missing label for response time XPath", toString, Matchers.containsString("responseTimeXPath")); assertThat( "Missing label for operations count XPath", toString, Matchers.containsString("operationsCountXPath")); assertThat( "toString should contain all of the operations XPath elements", toString, Matchers.stringContainsInOrder(Arrays.asList("foo", "bar", "operations"))); }