Mockito.
Mock objects library for java.
Here is the list of declaration for mockito-all. 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-all</artifactId> <version>1.3</version> </dependency>
If you think this Maven repository POM file listing for mockito-all 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 following packages are defined in the mockito-all-1.3.jar
net.sf.cglib.asm net.sf.cglib.asm.attrs net.sf.cglib.beans net.sf.cglib.core net.sf.cglib.proxy net.sf.cglib.reflect net.sf.cglib.transform net.sf.cglib.transform.hook net.sf.cglib.transform.impl net.sf.cglib.util org.hamcrest org.hamcrest.core org.hamcrest.internal org.mockito org.mockito.configuration org.mockito.configuration.experimental org.mockito.exceptions org.mockito.exceptions.base org.mockito.exceptions.cause org.mockito.exceptions.misusing org.mockito.exceptions.verification org.mockito.internal org.mockito.internal.configuration org.mockito.internal.creation org.mockito.internal.invocation org.mockito.internal.matchers org.mockito.internal.matchers.apachecommons org.mockito.internal.progress org.mockito.internal.stubbing org.mockito.internal.util org.mockito.internal.verification org.mockito.invocation org.objenesis org.objenesis.instantiator org.objenesis.instantiator.basic org.objenesis.instantiator.gcj org.objenesis.instantiator.jrockit org.objenesis.instantiator.sun org.objenesis.strategy
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-all</artifactId> <version>1.3</version> <name>Mockito</name> <url>http://mockito.goolecode.com</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> </project>