I'm not really a fan of typing out Assert.whatever or Mockito.thisthing in my test classes, but by default eclipse doesn't give you the option of picking static methods by hitting
ctrl+space, but there is good news: you can add it!
Window->Preferences->Java->Editor->Favorites
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiYePaHUcx3zKOof_dXyFMlKH_h7J8xz74ePQToIehohSbQjUoz4cTMc7jkslOCSyTKgZtijAGGnceiGKq7caarI2uDO1g5IDhJWVJaaHDZ0m-ioG5WVJhwvn1RNC1cL1B0AVQtyPvS4o/s400/faves.png) |
Here are my favorites for easier testing and mocking. |
No comments:
Post a Comment