com.smartbear.readyapi.client.assertions.DefaultNotSoapFaultAssertionBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ready-api-testserver-client Show documentation
Show all versions of ready-api-testserver-client Show documentation
Java client library for creating and executing test recipes against Ready!API TestServer
The newest version!
package com.smartbear.readyapi.client.assertions;
import com.smartbear.readyapi.client.model.NotSoapFaultAssertion;
public class DefaultNotSoapFaultAssertionBuilder extends AbstractAssertionBuilder
implements NotSoapFaultAssertionBuilder {
private final NotSoapFaultAssertion notSoapFaultAssertion = new NotSoapFaultAssertion();
@Override
public DefaultNotSoapFaultAssertionBuilder named(String name) {
notSoapFaultAssertion.setName(name);
return this;
}
@Override
public NotSoapFaultAssertion build() {
notSoapFaultAssertion.setType(Assertions.NOT_SOAP_FAULT_TYPE);
return notSoapFaultAssertion;
}
public final static NotSoapFaultAssertion create() {
return new DefaultNotSoapFaultAssertionBuilder().build();
}
}