de.ikor.sip.foundation.testkit.configurationproperties.TestCaseDefinition Maven / Gradle / Ivy
package de.ikor.sip.foundation.testkit.configurationproperties;
import com.fasterxml.jackson.annotation.*;
import de.ikor.sip.foundation.testkit.configurationproperties.models.EndpointProperties;
import java.util.*;
import lombok.Data;
/** Definition of a single test case. */
@Data
public class TestCaseDefinition {
@JsonProperty("schema_version")
private double schemaVersion;
private String title = UUID.randomUUID().toString();
@JsonProperty("when-execute")
private EndpointProperties whenExecute;
@JsonProperty("with-mocks")
private List withMocks = new ArrayList<>();
@JsonProperty("then-expect")
private List thenExpect = new ArrayList<>();
}