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

javax0.jamal.assertions.AssertEndsWith Maven / Gradle / Ivy

There is a newer version: 2.8.1
Show newest version
package javax0.jamal.assertions;

public class AssertEndsWith extends AbstractAssert {

    public AssertEndsWith() {
        super(3,"'%s' does not end with '%s'", "'%s' ends with '%s'");
    }

    protected boolean test(String[] parts) {
        return parts[0].endsWith(parts[1]);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy