Add tests for MakerInfoProvider
These are going to be handy soon, as I'm about to add Caffeine for caching.
This commit is contained in:
@@ -13,6 +13,9 @@ public class MakerInfoProvider {
|
||||
private final Map<Integer, MakerRecipe> recipeCache = new ConcurrentHashMap<>();
|
||||
|
||||
public MakerInfoProvider(MakerDao makerDao) {
|
||||
if (makerDao == null) {
|
||||
throw new IllegalArgumentException("MakerDao is null");
|
||||
}
|
||||
this.makerDao = makerDao;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user