![JAR search and dependency download from the Maven repository](/logo.png)
net.amygdalum.extensions.assertj.strings.StringAssert 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.strings;
import org.assertj.core.api.AbstractStringAssert;
public class StringAssert extends AbstractStringAssert {
Strings strings = Strings.instance();
public StringAssert(String actual) {
super(actual, StringAssert.class);
}
public StringAssert containsWildcardPattern(CharSequence wildcardstring) {
strings.assertContainsWildcardPattern(info, actual, wildcardstring);
return this;
}
public StringAssert doesNotContainWildcardPattern(CharSequence wildcardstring) {
strings.assertNotContainsWildcardPattern(info, actual, wildcardstring);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy