Skip to content
SkilVault
Sign inGet started

mockito-service-unit-tests

Testing & Quality
Signed by SkilVault

Writes isolated JUnit 5 tests for service classes with Mockito: stubbing repository and client collaborators, asserting business rules, verifying significant calls, capturing generated arguments, covering exceptions and async results. Use when the user asks to "unit test this service", "mock the repository", "test the business logic without a database", or "cover error paths in the service layer". Not for integration tests, database or transaction verification, controller tests, or proving external systems work.

Version
v1.0.1
Size
10 KB
Updated
2026-10-06
$ skilvault read --manual mockito-service-unit-tests

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.