In order to unit-test a component which checks whether a directory is writable I would need to create a directory which isn't.
How can this be achieved since it is not predictable which permission rights the user to run the test has.
Aucun commentaire:
Enregistrer un commentaire