SERG-Delft / andy

Andy assesses student's test code. It's used in CSE1110, TU Delft.
MIT License
78 stars 23 forks source link

Fix Mockito do-syntax #274

Closed martinmladenov closed 1 month ago

martinmladenov commented 1 month ago

The current implementation was checking for Mockito do-syntax in the form doReturn(something).when(repository.find(1)), which is invalid syntax. It should instead be doReturn(something).when(repository).find(1).