All Types

com.episode6.hackit.mockspresso.annotation.Dependency

Annotation that represents a dependency to be added to mockspresso's dependency map. Applies to non-null (usually final) fields.

com.episode6.hackit.mockspresso.api.DependencyProvider

A interface for a class that can provide dependencies for an object. Its get method will never return null.

com.episode6.hackit.mockspresso.api.InjectionConfig

A configuration interface that defines how we construct real objects.

com.episode6.hackit.mockspresso.api.MockerConfig

A config interface used by mockspresso to handle to mocking of objects using any mocker that supports annotations.

com.episode6.hackit.mockspresso.Mockspresso

Main mockspresso interface

com.episode6.hackit.mockspresso.api.MockspressoPlugin

An interface that can encapsulate multiple related mockspresso components into a single plugin.

com.episode6.hackit.mockspresso.api.ObjectProvider

Similar to javax.inject.Provider but get method is allowed to throw

com.episode6.hackit.mockspresso.annotation.RealObject

Annotation that represents a real object used in a test (as opposed to a mock)

com.episode6.hackit.mockspresso.api.SpecialObjectMaker

A class that creates "special" objects, i.e. objects that, by default, should not be simply mocked. An example of this is javax.inject.Provider, where we'd rather return a real instance that provides a mock (or a mapped dependency).

com.episode6.hackit.mockspresso.annotation.Unmapped

Field annotation for mocks and @RealObjects that tells mockspresso NOT to map the value contained therein.