how to test without declaring class public java, to preserve encapsulation
In swift, it is possible to test an package private class by using @testable annotation in the test class. I was just wondering if there is anyway to test a package private class in java without declaring it public? Thanks in advance for any help!
Aucun commentaire:
Enregistrer un commentaire