Hello Bertrand, Recently I started to write unit tests for SlingMainServlet. And I have a question there. It looks like it requires pretty much and deep mocking. So my question is this okay just to check that some target action inside a test void method was called, or I need to go deeper. I understand that it depends on each particular case. But could you please take a look on my first test for SlingMainServlet[1]. The reason why I ask you this is from my point of view, deep mocking could take more time and if there is no such need, I can skip it.
[1] https://github.com/PetrShypila/sling-builder/blob/d4d04af973876aced8dd042ee9b3880ad4e00449/bundles/engine/src/test/java/org/apache/sling/engine/impl/SlingMainServletTest.java Thank you, Petr
