src/main/java/com/zandero/utils/Assert.java
public static <T, K> void notNullOrEmpty(Map<T, K> map, String message) {

		isFalse(map == null || map.size() == 0, message);
	}
public static <T, K> void notNullOrEmpty(Map<T, K> map, String message) {

		isFalse(map == null || map.size() == 0, message);
	}
Tests if map is null or empty

@param map     must be have at least one element
@param message to return in exception
@param <T>     object type
@param <K>     value type
@throws IllegalArgumentException if list == null or list.size() == 0