Constants {
public static final PATH = "/contentFiles";
// Other constants ...
}
How do I mock the PATH
field in my Constants class?
I want to mock the PATH variable to set it to be something along the lines of "/test/contentFiles".
I want my test class to fetch files from a test folder instead of the production "/contentFiles" folder.
Aucun commentaire:
Enregistrer un commentaire