| Interface | Description |
|---|---|
| MoonshineConfigurator |
Allows to set some configuration options for Moonshine.
|
| Class | Description |
|---|---|
| MockitoRule |
Executes
MockitoAnnotations.initMocks(java.lang.Object) and Mockito.validateMockitoUsage(). |
| MoonshineMultiRunner |
Runs the tests inside
Moonshine container. |
| MoonshineRule |
JUnit
rule which initializes Moonshine container. |
| MoonshineRunner |
Runs the tests inside
Moonshine container. |
| MoonshineTest |
Executed the test class inside Moonshine container.
|
| RequestRule |
With this rule added the test acts as if it were executed as a part of a HTTP request.
|
| ResetMocksRule |
Resets the mocks registered using
MockAndBind. |
| Annotation Type | Description |
|---|---|
| EnabledConfigs |
Configuration files that were selected for the current test run as a result of using
the selectConfigs annotation are bound for the duration of the current test using this annotation:
\@EnabledConfigs List
|
| MockAndBind |
Any field in test class marked with this annotation will be mocked with
Mockito
and the type registered in Guice. |
| MoonshineConfiguration |
Can be specified on a test class extending
MoonshineTest. |
| MoonshineConfiguration.Alternatives |
Represents a list of configurations from which at most only one will be used at given time.
|
| MoonshineConfiguration.Config |
Represents one possible configuration.
|
Copyright © 2014 Atteo. All rights reserved.