@Test
public void testIsXmlMessage() throws Exception {

    //GIVEN
    //WHEN
    boolean xmlResult = underTest.isXmlMessage(requestOf("<?xml version=\"1.0\"?><root><child></child></root>"));
    boolean soapResult = underTest.isXmlMessage(requestOf(soapMessage()));
    boolean jsonResult = underTest.isXmlMessage(requestOf("{\"property\":\"value\"}"));
    //THEN
    assertTrue(xmlResult);
    assertTrue(soapResult);
    assertFalse(jsonResult);
}