isTestEnvironment

Detects if running in a test environment (Robolectric/JUnit) vs actual debug build