I have been looking for a way to use multiple DataProviders in my test method. My scenario is as follows:
lets say we have a DataProvider class:
@Tes
Great answer Segmented
Maybe someone will need it too, I rewrote this method in a different way.
// public static T[] concatAll(T[] first, T[]... rest) { public static Object[] concat(Object[] first, Object[] second) { Object[] result = ArrayUtils.addAll(first, second); return result;