Package org.easymock
package org.easymock
-
ClassDescriptionCapture<T>Will contain what was captured by the
capture()matcher.Defines how arguments will be captured by a Capture objectClass wrapping arguments to create a partial class mock that gets instantiated by calling one of its constructorsMain EasyMock class.JUnit Rule used to processMockandTestSubjectannotations.JUnit runner used to processMockandTestSubjectannotations.Helper class to keep track of mocks easily.IAnswer<T>Used to answer expected calls.Decides whether an actual argument is accepted.Allows setting expectations for an associated expected invocation.IMockBuilder<T>Helps the creation of partial mocks withEasyMock.Controls all the mock objects created by it.Annotation to set on a field so thatEasyMockRunner,EasyMockRuleorEasyMockSupport.injectMocks(Object)will inject a mock to it.Enum describing the 3 possibles kind of mocksAnnotation to set on a field so thatEasyMockRunner,EasyMockRuleorEasyMockSupport.injectMocks(Object)will inject mocks created withMockon its fields.