Mockito.
Mock objects library for java.
Here is the list of declaration for mockito-core. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>1.9.5</version> </dependency>
If you think this Maven repository POM file listing for mockito-core is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The MIT License
URL: http://code.google.com/p/mockito/wiki/License.
The mockito-core-1.9.5 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Development | objenesis 1.0 A library for instantiating Java objects | 48 |
The following table lists the most popular artifacts which are depending on mockito-core-1.9.5. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
RDF | rdf.core 0.13 Interfaces and utilities to access RDF Graphs | 5 |
Build | maven-aether-provider 3.2.3 Extensions to Aether for utilizing Maven POM and repository metadata. | 13 |
Build | maven-aether-provider 3.2.2 Extensions to Aether for utilizing Maven POM and repository metadata. | 5 |
RDF | rdf.core 0.14 Interfaces and utilities to access RDF Graphs | 40 |
Testing | fitnesse 20140201 The fully integrated standalone wiki, and acceptance testing framework. | 6 |
ORM | mybatis 3.2.6 The MyBatis data mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor or annotations. Simplicity is the biggest advantage of the MyBatis data mapper over objec... | 12 |
Testing | jfw-test 1.0.0.0 SINAVI J-Framework Test Utility | 5 |
Android | robolectric 2.2 An alternative Android testing framework. | 10 |
Network | eureka-test-utils 2.0.0-DP3 eureka-test-utils developed by Netflix | 6 |
Testing | commons-testing 1.0.1 This provides the common unit testing code. | 5 |
JSON | minimal-json 0.9.1 A Minimal JSON Parser and Writer | 18 |
Scripting | JSCover 1.0.14 JSCover is a tool that measures code coverage for JavaScript programs. | 5 |
Spring | spring-integration-test 4.0.0.RELEASE Spring Integration Test Support | 7 |
Spring | spring-security-oauth2 2.0.3.RELEASE Module for providing OAuth2 support to Spring Security | 8 |
Library | jfw-util-core 1.0.0.0 SINAVI J-Framework Utility | 6 |
Network | eureka-test-utils 2.0.0-DP1 eureka-test-utils developed by Netflix | 6 |
JEE | common-jackson 1.7 Jackson dependencies and helper utilities | 15 |
The following packages are defined in the mockito-core-1.9.5.jar
org.mockito org.mockito.asm org.mockito.asm.signature org.mockito.asm.tree org.mockito.asm.tree.analysis org.mockito.asm.util org.mockito.cglib.beans org.mockito.cglib.core org.mockito.cglib.proxy org.mockito.cglib.reflect org.mockito.cglib.transform org.mockito.cglib.transform.impl org.mockito.cglib.util org.mockito.configuration org.mockito.exceptions org.mockito.exceptions.base org.mockito.exceptions.misusing org.mockito.exceptions.stacktrace org.mockito.exceptions.verification org.mockito.exceptions.verification.junit org.mockito.internal org.mockito.internal.configuration org.mockito.internal.configuration.injection org.mockito.internal.configuration.injection.filter org.mockito.internal.configuration.injection.scanner org.mockito.internal.creation org.mockito.internal.creation.cglib org.mockito.internal.creation.jmock org.mockito.internal.creation.settings org.mockito.internal.debugging org.mockito.internal.exceptions org.mockito.internal.exceptions.stacktrace org.mockito.internal.exceptions.util org.mockito.internal.handler org.mockito.internal.invocation org.mockito.internal.invocation.finder org.mockito.internal.invocation.realmethod org.mockito.internal.junit org.mockito.internal.listeners org.mockito.internal.matchers org.mockito.internal.matchers.apachecommons org.mockito.internal.progress org.mockito.internal.reporting org.mockito.internal.runners org.mockito.internal.runners.util org.mockito.internal.stubbing org.mockito.internal.stubbing.answers org.mockito.internal.stubbing.defaultanswers org.mockito.internal.util org.mockito.internal.util.collections org.mockito.internal.util.junit org.mockito.internal.util.reflection org.mockito.internal.verification org.mockito.internal.verification.api org.mockito.internal.verification.argumentmatching org.mockito.internal.verification.checkers org.mockito.invocation org.mockito.listeners org.mockito.mock org.mockito.plugins org.mockito.runners org.mockito.stubbing org.mockito.stubbing.answers org.mockito.verification
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> <modelVersion>4.0.0</modelVersion> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>1.9.5</version> <name>Mockito</name> <packaging>jar</packaging> <url>http://www.mockito.org</url> <description>Mock objects library for java</description> <licenses> <license> <name>The MIT License</name> <url>http://code.google.com/p/mockito/wiki/License</url> <distribution>repo</distribution> </license> </licenses> <scm> <url>http://code.google.com/p/mockito/source/browse/</url> </scm> <dependencies> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> <version>1.0</version> </dependency> </dependencies> </project>