Mockito Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Mockito#Subjects|Mockito]] | * [[Mockito#Subjects|Mockito]] | ||
* [[Software Testing Concepts|Testing Concepts]] | |||
=Overview= | =Overview= | ||
=MockitoJUnitRunner= | =MockitoJUnitRunner= |
Revision as of 04:09, 16 July 2021
Internal
Overview
MockitoJUnitRunner
Mockito.mock()
@Mock
Can't Mock
- Final classes
- Final methods
- Enums
- Static methods
- Private methods
hashCode()
andequals()
methods- Anonymous classes
- Primitive types
PowerMock can mock these constructs.