I need to create the below method which i need to use in all my test classes ( which are in different packages).How can I make the method available for all test classes.Any efficient way ? I am using Junit 5 and Mockito
public TodosObject getObject(){
TodosObject todosObject= new TodosObject()
//setter ommitted for brevity
return todosObject;
}
Aucun commentaire:
Enregistrer un commentaire