| Modifier and Type | Method and Description |
|---|---|
static String |
requireNonEmpty(String stringBeingTested,
String variableName) |
public static String requireNonEmpty(String stringBeingTested, String variableName) throws RuntimeException
stringBeingTested - the object being tested (cannot be null or empty)variableName - the name of the variable being tested (cannot be null or empty)RuntimeException - if object is null or emptyCopyright © 2018 JBoss by Red Hat. All rights reserved.