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 object.Class wrapping arguments to create a partial class mock that gets instantiated by calling one of its constructors.Main EasyMock class.JUnit 5 replaced the previousRunWithannotation (which made use ofEasyMockRunner) with the newExtendWithannotation.JUnit Rule used to processMockandTestSubjectannotations.JUnit runner used to processMockandTestSubjectannotations.Helper class to keep track of mocks easily.Hides cglib classes from EasyMockSupport to preventNoClassDefFoundErrorif cglib isn't used.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 mocksIndicated that the annotated item is new and might be tweaked a little if needed.Annotation to set on a field so thatEasyMockRunner,EasyMockRuleorEasyMockSupport.injectMocks(Object)will inject mocks created withMockon its fields.