Dymension
JCHJava Community | Help. Code. Learn.
•Created by Dymension on 12/23/2024 in #java-help
how do i unit test singleton classes in java?
i just realised the problem was not singleton it was actually because the class had a parameterized constructor and i was using inject mocks
7 replies