Can you please let me know if we can merge the below 2 dataproviders
public Object[][] dp1() {
User user = new User(1L, "Arun");
Transaction trx = new Transaction(1L, "atm");
return new Object[][] {
new Object[] { user , trx, true }
};
}
public Object[][] dp2() {
return new Object[][] {
new Object[] { "e", "f" }
};
}
I want to merge them horizontally, after merge the following output is desired in the merged dataprovider { user , trx, true, "e", "f" }
Aucun commentaire:
Enregistrer un commentaire