Skip to content

A fake that actually works

Instead of mocking a StudentRepository, a test uses an implementation backed by a HashMap.

What is the advantage over a mock?