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.0</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.0 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.0. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Service | zkclient 0.3 A zookeeper client, that makes life a little easier. | 16 |
The following packages are defined in the mockito-core-1.8.0.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.base org.mockito.internal.invocation org.mockito.internal.invocation.realmethod 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.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
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.0</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>