Hi Tom! It depends on the implementation. If you have a service level it's not necessary to mock persistence, but enough to mock services and inject them (if you use @Autowired annotation).
Could you please give a bit more examples of what you're trying to test? On Wed, 10 Jul 2019 at 20:56, "Tom Götz" <t...@richmountain.de> wrote: > Hi there, > > we have a Spring Boot based webapp (Wicket 8.4 with wicket-spring-boot > 2.1.6) and would like to create a base test class for our Wicket tests. For > testing, we would like to mock the service and persistence layer (e.g. with > Mockito). Is there a good example for that purpose? > > Cheers > Tom > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- *ANDREW KONDRATEV* TECHNICAL LEAD [image: cid:BCFC90CC-ECC8-433C-AA3E-F8FA38DA99DB] MOB +64 210 492 674 <%2B64%2021%20049%202674> EMAIL andrei.kondra...@unimarket.com www.unimarket.com Simple and easy-to-use software that brings all your procurement into one place.