Package org.easymock
-
Interface Summary Interface Description IAnswer<T> Used to answer expected calls.IArgumentMatcher Decides whether an actual argument is accepted.IExpectationSetters<T> Allows setting expectations for an associated expected invocation.IMockBuilder<T> Helps the creation of partial mocks withEasyMock.IMocksControl Controls all the mock objects created by it. -
Class Summary Class Description Capture<T> Will contain what was captured by thecapture()matcher.ConstructorArgs Class wrapping arguments to create a partial class mock that gets instantiated by calling one of its constructorsEasyMock Main EasyMock class.EasyMockListener EasyMockRule JUnit Rule used to processMockandTestSubjectannotations.EasyMockRunner JUnit runner used to processMockandTestSubjectannotations.EasyMockSupport Helper class to keep track of mocks easily. -
Enum Summary Enum Description CaptureType Defines how arguments will be captured by a Capture objectLogicalOperator MockType Enum describing the 3 possibles kind of mocks -
Annotation Types Summary Annotation Type Description Mock Annotation to set on a field so thatEasyMockRunner,EasyMockRuleorEasyMockSupport.injectMocks(Object)will inject a mock to it.TestSubject Annotation to set on a field so thatEasyMockRunner,EasyMockRuleorEasyMockSupport.injectMocks(Object)will inject mocks created withMockon its fields.