Uses of Class
mockit.MockUp
Packages that use MockUp
Package
Description
Provides integration with JUnit 4.x test runners, for version 4.5 or newer.
Provides integration with Spring Framework's bean
factories.
-
Uses of MockUp in mockit.integration.junit4
Subclasses of MockUp in mockit.integration.junit4Modifier and TypeClassDescriptionfinal class
Startup fake that modifies the JUnit 4.5+ test runner so that it calls back to JMockit immediately after every test executes.final class
Startup fake which works in conjunction withJUnit4TestRunnerDecorator
to provide JUnit 4.5+ integration. -
Uses of MockUp in mockit.integration.springframework
Subclasses of MockUp in mockit.integration.springframeworkModifier and TypeClassDescriptionfinal class
If applied, this fake will take over calls toAbstractBeanFactory.getBean(String)
andAbstractBeanFactory.getBean(String, Class)
in any implementation class, returning instead a@Tested
or@Injectable
object with the given field name, or a dependency object injected at any level into a@Tested
object. -
Uses of MockUp in mockit.internal.faking
Fields in mockit.internal.faking declared as MockUpMethods in mockit.internal.faking that return MockUpMethods in mockit.internal.faking with parameters of type MockUpModifier and TypeMethodDescriptionvoid
void
void
FakeClasses.findPreviouslyAppliedMockUps
(MockUp<?> newMockUp) Constructors in mockit.internal.faking with parameters of type MockUpModifierConstructorDescriptionCaptureOfFakedImplementations
(MockUp<?> fake, Type baseType) FakeClassSetup
(Class<?> realClass, Class<?> classToFake, Type fakedType, MockUp<?> fake) FakedImplementationClass
(MockUp<?> fakeInstance)