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

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

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

public class AssertStartsWith extends AbstractAssert {

    public AssertStartsWith() {
        super(3,"'%s' does not start with '%s'", "'%s' starts with '%s'");
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy