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

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

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

public class AssertEmpty extends AbstractAssert {

    public AssertEmpty() {
        super(2, "'%s' is not empty", "value is empty");
    }

    @Override
    protected boolean test(String[] parts) {
        return parts[0].length() == 0;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy