1.

How can we simulate if then behavior in Junits?

A. if{..} else{..}
B. if(..){..} else{..}
C. Mockito.when(…).thenReturn(…);
D. Mockito.if(..).then(..);
Answer» D. Mockito.if(..).then(..);


Discussion

No Comment Found