Mockito Concepts: Difference between revisions
Jump to navigation
Jump to search
(→@Mock) |
(→@Mock) |
||
Line 8: | Line 8: | ||
=<tt>@Mock</tt>= | =<tt>@Mock</tt>= | ||
{{Internal|Mockito_Programming_Model#Annotations|Programming Model | Annotations}} | {{Internal|Mockito_Programming_Model#Annotations|Programming Model | Annotations}} | ||
=Can't Mock= | |||
* Final classes | |||
* Final methods | |||
* Enums | |||
* Static methods | |||
* Private methods |
Revision as of 04:07, 16 July 2021
Internal
Overview
MockitoJUnitRunner
Mockito.mock()
@Mock
Can't Mock
- Final classes
- Final methods
- Enums
- Static methods
- Private methods