Examples of JTesterException


Examples of org.jtester.exception.JTesterException

   * @return True if the module exists and is enabled
   */
  public static boolean isModuleEnabled(Class<? extends Module> moduleClass) {
    List<? extends Module> modulesOfType = getModulesOfType(moduleClass);
    if (modulesOfType.size() > 1) {
      throw new JTesterException("More than one module found of type " + moduleClass.getName());
    }
    return modulesOfType.size() == 1;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.