minishza
minishza
JCHJava Community | Help. Code. Learn.
Created by minishza on 1/17/2025 in #java-help
Should mock objects be in a single class?
Hey so should different mock objects be in a single class for different tests? is this good practice? or should they be in their respective test classes
4 replies
JCHJava Community | Help. Code. Learn.
Created by minishza on 1/15/2025 in #java-help
Can spring @autowire one of the parameters in a constructor and not autowire the other one?
I mean that if I say new TestObject(autowirethis, notautowirethisbutinitiateit); can i make it so i provide one of the values and dont provide the other one?
4 replies