It's all about the answers!

Ask a question

How to use Mockito for RTC(EWM) server methods in Java Junit tests?

Daniel Stanaszek (11) | asked Nov 26 '21, 11:12 a.m.


I would like to write Junit tests for my RTC(EWM) server side methods in Java. Main goal is to prepare server-independence environment. I would like to ask if someone has an experience with using Mockito framework for such purpose, and can share some examples? For instance, I would like to mock a behavior of "getService(MyService.class).myMethod()" kind of methods. 

Thank you for help in advance


Be the first one to answer this question!

Register or to post your answer.