@Test(expected = IllegalStateException.class)
public void testAlternateXmlRequestNoArgConstructor() throws Exception {

    final XmlRequest xmlRequest = new GeonetHttpRequestFactory().createXmlRequest();
    xmlRequest.setupHttpMethod();
}