### Question:
XmlValidationDelegate implements RequestDelegationHandler { protected boolean isGetCapabilitiesRequest(XmlObject request) { XmlCursor xmlCursor = request.newCursor(); xmlCursor.toFirstChild(); String operationName = xmlCursor.getName().getLocalPart(); return operationName.equalsIgnoreCase("GetCapabilities"); } XmlValidationDelegate(XmlDelegate toDecorate); XmlObject delegate();  }### Answer:
@Test public void testIsGetCapabilitiesRequest() throws XmlException, IOException { XmlObject getCapabilities = getRequest(REQUEST_GET_CAPABILITIES); assertTrue(validatingDelegate.isGetCapabilitiesRequest(getCapabilities)); }