Closed guelo closed 5 years ago
Makes me cry too. But unfortunately, seems like nothing could be done with it: https://stackoverflow.com/questions/26318569/unfinished-stubbing-detected-in-mockito/26319364
This is due to the way Mockito works internally, relying on perfect ordering of various static method calls. Unfortunately, this is a limitation of working with Mockito.