How Can We Simulate If Then Behavior In Junits #1114
How can we simulate if then behavior in Junits?
This multiple choice question (MCQ) is related to the book/course
gs gs128 Java.
It can also be found in
gs gs128 Java Autoboxing - JUnits - Quiz No.1.
How can we simulate if then behavior in Junits?
if{..} else{..}
if(..){..} else{..}
Mockito.when(…).thenReturn(…);
Mockito.if(..).then(..);