Mockito Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
=<tt>@Mock</tt>=
=<tt>@Mock</tt>=
{{Internal|Mockito_Programming_Model#Annotations|Programming Model &#124; Annotations}}
{{Internal|Mockito_Programming_Model#Annotations|Programming Model &#124; 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()

Programming Model | API

@Mock

Programming Model | Annotations

Can't Mock

  • Final classes
  • Final methods
  • Enums
  • Static methods
  • Private methods