com.github.grzesiek_galezowski.test_environment.buffer.exceptions.MismatchException Maven / Gradle / Ivy
package com.github.grzesiek_galezowski.test_environment.buffer.exceptions;
import com.github.grzesiek_galezowski.test_environment.buffer.exceptions.implementation.MessageFormat;
import com.github.grzesiek_galezowski.test_environment.buffer.interfaces.MatchCountCondition;
import org.assertj.core.api.Condition;
import java.util.List;
/**
* Created by grzes on 26.06.2017.
*/
public class MismatchException extends RuntimeException {
public MismatchException(
final Condition condition,
final List matchingDescriptions,
final List matchingResult, final MatchCountCondition matchCountCondition) {
super(new MessageFormat().getMessage(condition, matchingDescriptions, matchingResult, matchCountCondition));
}
}