All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartbear.readyapi.client.assertions.DefaultNotSoapFaultAssertionBuilder Maven / Gradle / Ivy

Go to download

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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy