Module org.easymock
Package org.easymock
package org.easymock
-
ClassDescriptionCapture<T>Will contain what was captured by the
capture()
matcher.Defines how arguments will be captured by aCapture
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 previousRunWith
annotation (which made use ofEasyMockRunner
) with the newExtendWith
annotation.JUnit Rule used to processMock
andTestSubject
annotations.JUnit runner used to processMock
andTestSubject
annotations.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
,EasyMockRule
orEasyMockSupport.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
,EasyMockRule
orEasyMockSupport.injectMocks(Object)
will inject mocks created withMock
on its fields.