For testing controller in isolation we have @WebmvcTest available in spring boot test.
It would only configure controller class and no dependencies for it. Similarly for jpa layer we have @DatajpaTest
Is there something similar for service beans?
For testing controller in isolation we have @WebmvcTest available in spring boot test.
It would only configure controller class and no dependencies for it. Similarly for jpa layer we have @DatajpaTest
Is there something similar for service beans?