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.8.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.8.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.8.5. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Jetty | jetty-server 8.0.4.v20111024 The core jetty server artifact. | 12 |
Network | rxjava-core 0.18.0 rxjava-core developed by Netflix | 13 |
Android | robolectric 1.1 An alternative Android testing framework. | 6 |
Network | rxjava-core 0.17.5 rxjava-core developed by Netflix | 14 |
Network | rxjava-core 0.20.0-RC2 rxjava-core developed by Netflix | 13 |
Network | rxjava-core 0.20.0-RC6 rxjava-core developed by Netflix | 14 |
Library | overthere 2.4.3 Remote file manipulation and process execution framework for Java | 6 |
JEE | webjars-locator 0.19 WebJar Locator | 8 |
Network | rxjava-core 0.17.3 rxjava-core developed by Netflix | 13 |
Testing | imagecomparison 0.0.5 Tools for comparing images and writing image-base approval tests | 10 |
Document Database | cassandra-unit 2.0.2.0 Test framekork to develop with Cassandra | 35 |
Network | rxjava-core 0.20.2 rxjava-core developed by Netflix | 14 |
Android | robolectric 1.0-RC1 An alternative Android testing framework. | 6 |
Network | governator 1.2.12 governator developed by Netflix | 12 |
Android | robolectric 1.2 An alternative Android testing framework. | 14 |
Network | rxjava-core 0.19.2 rxjava-core developed by Netflix | 13 |
Network | governator 1.1.1 governator developed by Netflix | 12 |
Network | rxjava-core 0.19.0 rxjava-core developed by Netflix | 12 |
Network | rxjava-core 0.18.3 rxjava-core developed by Netflix | 11 |
Jetty | jetty-server 7.5.4.v20111024 The core jetty server artifact. | 6 |
Network | pytheas-core 1.11 pytheas-core developed by Netflix | 12 |
Library | vraptor 3.4.0 Java web MVC framework for fast and maintainable development | 11 |
Network | mock-http-server 1.3 Mock and Proxy HTTP Server for testing purposes. Forked from https://github.com/jharlap/mock-http-server | 7 |
Network | rxjava-core 0.20.5 rxjava-core developed by Netflix | 14 |
Network | governator 1.2.20 governator developed by Netflix | 11 |
Network | mock-http-server 4.0 Mock and Proxy HTTP Server for testing purposes. Forked from https://github.com/jharlap/mock-http-server | 5 |
Network | rxjava-core 0.20.4 rxjava-core developed by Netflix | 7 |
Android | robolectric 1.0 An alternative Android testing framework. | 7 |
Network | governator 1.2.10 governator developed by Netflix | 17 |
Network | rxjava-core 0.20.0 rxjava-core developed by Netflix | 12 |
Network | rxjava-core 0.20.0-RC1 rxjava-core developed by Netflix | 13 |
Network | rxjava-core 0.19.1 rxjava-core developed by Netflix | 15 |
Library | vraptor 3.4.1 Java web MVC framework for fast and maintainable development | 12 |
Inversion of Control | nuun-log-plugin 1.0.M1 Nuun Log Plugin will manage the injection of SL4J Logger. | 5 |
Network | rxjava-core 0.20.0-RC4 rxjava-core developed by Netflix | 14 |
Jetty | jetty-server 8.0.3.v20111011 The core jetty server artifact. | 14 |
Network | rxjava-core 0.19.4 rxjava-core developed by Netflix | 12 |
The following packages are defined in the mockito-core-1.8.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.verification org.mockito.exceptions.verification.junit org.mockito.internal org.mockito.internal.configuration org.mockito.internal.creation org.mockito.internal.creation.cglib org.mockito.internal.creation.jmock org.mockito.internal.debugging org.mockito.internal.exceptions org.mockito.internal.exceptions.base org.mockito.internal.exceptions.util org.mockito.internal.invocation org.mockito.internal.invocation.realmethod 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.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.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.8.5</version> <name>Mockito</name> <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>