All Questions
3 questions
6
votes
1
answer
25k
views
Dependency Injection into an Abstract Class
Me and another developer have recently forked and taken over an abandoned, open-source project. I have also been reading articles and watching videos by Misko Hevery.
When I was reading through the ...
3
votes
1
answer
192
views
Guice custom behavior for testing
I have a Java/Swing/Guice application that uses multiple frames. When the application runs normally, I just want some of these frames to hide (and the "master" frame can unhide them).
When testing ...
1
vote
2
answers
1k
views
Unit Test to verify number of times lazy initialization logic is executed for a data member
I'll write a small simulation of my actual class first to request insights on unit testing one of the behaviors of this class. Here is my class A:
...