![JAR search and dependency download from the Maven repository](/logo.png)
net.amygdalum.extensions.assertj.conditions.AString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of assertj-extensions Show documentation
Show all versions of assertj-extensions Show documentation
Assertj Extensions (advanced testing of conventions, iterables, strings, exceptions)
The newest version!
package net.amygdalum.extensions.assertj.conditions;
import org.assertj.core.api.Condition;
public class AString extends Condition {
public AString(String expected) {
super(actual -> expected.equals(actual), "matches \"%s\"", expected);
}
public static AString matching(String string) {
return new AString(string);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy