Skip to content

A test that proves nothing

A test mocks a repository, calls a service that forwards to it, and asserts the repository was called once with the given argument.

What is wrong with it?