In swift, to test a default access level class, one can put @testable in the test class header, making the internal access level class accessible and testable from the test package, without everything in the class public. I was wondering if Java has a way to access the same purpose? How can I test a default access level class in java from the test package without making everyhting in the class public? Thanks in advance for any help!
mercredi 6 juillet 2016
how to test default access level class in java without making everything public
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire