Closed martinmladenov closed 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).
doReturn(something).when(repository.find(1))
doReturn(something).when(repository).find(1)
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 bedoReturn(something).when(repository).find(1)
.