bentobox/src/test/java
tastybento aad5239ba3 Added logging methods to BSkyBlock to avoid plugin.getLogger()
plugin.getLogger() is a final class and so cannot be mocked. It was
making development of tests very hard. By making three logging methods
in BSkyBlock.java, they default to do nothing when BSkyBlock is mocked.
Previously, every time there was a use of logger in testing it was
throwing NPE's because plugin.getLogger() was returning null and the
getLogger() method could not be made not null by mocking because it was
final (in JavaPlugin).
2018-04-28 13:02:15 +09:00
..
bskyblock Cleaned up imports and unneeded exceptions 2018-03-11 15:59:03 -07:00
us/tastybento/bskyblock Added logging methods to BSkyBlock to avoid plugin.getLogger() 2018-04-28 13:02:15 +09:00