Add tests for CashShopSurpriseHandler
This commit is contained in:
10
src/test/java/testutil/Items.java
Normal file
10
src/test/java/testutil/Items.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package testutil;
|
||||
|
||||
import client.inventory.Item;
|
||||
|
||||
public class Items {
|
||||
|
||||
public static Item itemWithQuantity(int itemId, int quantity) {
|
||||
return new Item(itemId, AnyValues.anyShort(), (short) quantity);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user