In my previous post on the argument (Junit testing with Spring), I skipped a very interesting part of testing attributes in the code which are inside methods. In these cases, Mockito it’s very helpful to solve the problem. Starting from the above article, I created a Web Controller which is tested in developer environment using a JUnit […]
↧