Answer the question
In order to leave comments, you need to log in
What is the correct way to use common methods for unit tests?
There are several classes with Unit tests. In each class, tests should use the method of reading from files
private String readFromFile(String fileName){
...
return result;
}
Answer the question
In order to leave comments, you need to log in
The readFromFile method is done with default access:
String readFromFile(String fileName){
...
return result;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question