Task:
Write unit tests covering CRUD operations, custom query methods, and edge cases for all five in-memory repositories. Tests should verify that save, findById, findAll, delete, and entity-specific queries like findByAuthor and findOverdue all work correctly. Also test that the RepositoryFactory returns the correct implementation and throws an exception for invalid storage types.
Priority: High
Linked Requirement: NFR-05
Task:
Write unit tests covering CRUD operations, custom query methods, and edge cases for all five in-memory repositories. Tests should verify that save, findById, findAll, delete, and entity-specific queries like findByAuthor and findOverdue all work correctly. Also test that the RepositoryFactory returns the correct implementation and throws an exception for invalid storage types.
Priority: High
Linked Requirement: NFR-05