class ElementProperties {

    public static ElementProperty hasNonOfTheClasses(String... cssClasses) {
        return new ElementProperty() {
            @Override
            public String toXpath() {
                return XpathUtils.doesNotExist(XpathUtils.hasAnyOfClasses(cssClasses));
            }

            public String toString() {
                String classesAsList = String.join(", ", cssClasses);
                return "has non of the classes [" + classesAsList + "]";
            }
        };
    }

    private  ElementProperties();

}