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

org.mockserver.matchers.MatchDifferenceCount Maven / Gradle / Ivy

There is a newer version: 5.15.0
Show newest version
package org.mockserver.matchers;

import org.mockserver.model.HttpRequest;

public class MatchDifferenceCount {

    private final HttpRequest httpRequest;
    private Integer failures = 0;

    public MatchDifferenceCount(HttpRequest httpRequest) {
        this.httpRequest = httpRequest;
    }

    public HttpRequest getHttpRequest() {
        return httpRequest;
    }

    @SuppressWarnings("UnusedReturnValue")
    public MatchDifferenceCount incrementFailures() {
        this.failures++;
        return this;
    }

    public Integer getFailures() {
        return failures;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy