Mockito: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
<syntaxhighlight lang='groovy'>
<syntaxhighlight lang='groovy'>
dependencies {
dependencies {
     implementation 'org.mockito:mockito-core:3.11.2'
     testCompile 'org.mockito:mockito-core:3.11.2'
}
}
</syntaxhighlight>
</syntaxhighlight>
==<tt>mockito-all</tt>==
==<tt>mockito-all</tt>==


=Playground=
=Playground=

Revision as of 02:57, 16 July 2021

External

Internal

Overview

The Mockito framework streamlines the creation and management of external dependencies, and provides an API to create mock objects. It uses proxy objects to verify the invocation and stub calls.

Distributions

mockito-core

dependencies {
    testCompile 'org.mockito:mockito-core:3.11.2'
}

mockito-all

Playground