javax0.jamal.assertions.AssertContains Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jamal-assertions Show documentation
Show all versions of jamal-assertions Show documentation
Assertions module for Jamal
package javax0.jamal.assertions;
public class AssertContains extends AbstractAssert {
public AssertContains() {
super(3,"'%s' does not contain '%s'", "'%s' contains '%s'");
}
protected boolean test(String[] parts) {
return parts[0].contains(parts[1]);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy