Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tonbeller.tbutils.testenv
Class Environment

    java.lang.Object
      com.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:

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD