com.tonbeller.tbutils.testenv
Class Environment

java.lang.Object
  extended bycom.tonbeller.tbutils.testenv.Environment

public class Environment
extends java.lang.Object

If the system properties com.tonbeller.environment is set to test then we are in an test environment and may behave different here and there.

Author:
av

Constructor Summary
Environment()
           
 
Method Summary
static boolean isTest()
          true if this VM runs in a test environment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment()
Method Detail

isTest

public static boolean isTest()
true if this VM runs in a test environment

Returns: