com.deblock.cucumber.datatable.mapper.name.HumanReadableColumnNameBuilder Maven / Gradle / Ivy
package com.deblock.cucumber.datatable.mapper.name;
import java.util.List;
public class HumanReadableColumnNameBuilder implements ColumnNameBuilder {
@Override
public List build(String fieldName) {
return List.of(
fieldName.replaceAll("([a-z])([A-Z])", "$1 $2").trim().toLowerCase()
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy