nl.hsac.fitnesse.sample.AddIntegerFixture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hsac-fitnesse-fixtures Show documentation
Show all versions of hsac-fitnesse-fixtures Show documentation
Fixtures to assist in testing via FitNesse
package nl.hsac.fitnesse.sample;
import nl.hsac.fitnesse.fixture.fit.SoapCallMapColumnFixture;
import nl.hsac.fitnesse.fixture.util.XmlHttpResponse;
public class AddIntegerFixture extends SoapCallMapColumnFixture {
static {
registerNs("tempuri", "http://tempuri.org");
}
/**
* Creates new.
*/
public AddIntegerFixture() {
super(XmlHttpResponse.class);
setTemplateName("samplePost.ftl.xml");
}
@Override
protected XmlHttpResponse callService() {
return callServiceImpl("url", "http://tempuri.org/SOAP.Demo.AddInteger");
}
public String result() {
return getRawResponse().getXPath("//tempuri:AddIntegerResult/text()");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy