All Types

com.episode6.hackit.mockspresso.BuildMockspresso

Contains a static method to create new Mockspresso.Builders

com.episode6.hackit.mockspresso.exception.CircularDependencyError

Error thrown when trying to declare multiple @RealObjects that create a circular dependency.

com.episode6.hackit.mockspresso.util.CollectionUtil

Static utilities for collections

com.episode6.hackit.mockspresso.junit.MethodRuleChain

Similar to java's org.junit.rules.RuleChain except that it is implemented via a MethodRule instead of a TestRule, and it supports both MethodRules and TestRules (but not ClassRules) Currently this isn't directly tied to Mockspresso, so I may pull this out and move to its own library.

com.episode6.hackit.mockspresso.junit.MethodRules

Utility methods for Method Rules

com.episode6.hackit.mockspresso.exception.NoValidConstructorException

Exception thrown when trying to create a real object that has no constructor.

com.episode6.hackit.mockspresso.util.Preconditions

Some preconditions

com.episode6.hackit.mockspresso.exception.RepeatedDependencyDefinedException

Exception thrown when trying multiple fields/objects are bound to the same DependencyKey in a single Mockspresso instance.