net.thucydides.core.steps.StepArgumentWriter Maven / Gradle / Ivy
package net.thucydides.core.steps;
import org.apache.commons.lang3.ArrayUtils;
public class StepArgumentWriter {
public static String readableFormOf(Object arg) {
if (arg == null) {
return "";
} else if (arg.getClass().isArray()) {
return ArrayUtils.toString(arg);
} else {
return arg.toString();
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy