Hi, just starting using the in line version and may be I am missing something.
If I have something like this
@MockitoSettings
class mytestes {
@ Test
void testSomething(
@Mock final FactoryA factoryA,
@ Mock final FactoryB factoryB)
If FactoryA is an interface it mocks,
If FactoryB is a class it does not mock, just creates and instance of the class (plain old class NOT static or final) or fields are null.
With the core version it would mock both. Is there something different I have to do?
mike