@Test(priority = 1, groups = { "wso2.esb" }, description = "Google Contacts {retrieveAllContacts} integration test with mandatory parameters.")
public void testRetrieveAllContactsWithMandatoryParameters() throws Exception {
final SOAPEnvelope esbSoapResponse = sendSOAPRequest(proxyUrl, "esb_retrieveAllContacts_mandatory.xml");
final ContactFeed directResponse = directInvoker.retrieveAllContacts();
Assert.assertEquals(directResponse.getEntries().get(0).getName().getFullName().getValue(),
(String) xPathEvaluate(esbSoapResponse.getBody().getFirstElement(), "string(//gd:fullName/text())", nameSpaceMap));
Assert.assertEquals(directResponse.getTitle().getPlainText(),
(String) xPathEvaluate(esbSoapResponse.getBody().getFirstElement(), "string(//atom:title/text())", nameSpaceMap));
Assert.assertEquals(String.valueOf(directResponse.getTotalResults()),
(String) xPathEvaluate(esbSoapResponse.getBody().getFirstElement(), "string(//openSearch:totalResults/text())", nameSpaceMap));
}