public static class AndroidSandbox.EnvironmentSpec extends Object
Provides a mechanism for tests to inject a different AndroidEnvironment. For test use only.
Constructor and Description |
---|
EnvironmentSpec() |
EnvironmentSpec(Class<? extends AndroidEnvironment> environmentClass) |
Modifier and Type | Method and Description |
---|---|
Class<? extends AndroidEnvironment> |
getEnvironmentClass() |
@Inject public EnvironmentSpec()
public EnvironmentSpec(Class<? extends AndroidEnvironment> environmentClass)
public Class<? extends AndroidEnvironment> getEnvironmentClass()