You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/08/07 20:39:58 UTC
[17/61] [abbrv] [partial] Removing tools/mockito directory,
per discussion on dev list
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/64def0ef/tools/mockito/javadoc/org/mockito/Captor.html
----------------------------------------------------------------------
diff --git a/tools/mockito/javadoc/org/mockito/Captor.html b/tools/mockito/javadoc/org/mockito/Captor.html
deleted file mode 100644
index 1a2214b..0000000
--- a/tools/mockito/javadoc/org/mockito/Captor.html
+++ /dev/null
@@ -1,191 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Mon May 24 23:03:13 CEST 2010 -->
-<TITLE>
-Captor (Mockito API)
-</TITLE>
-
-<META NAME="keywords" CONTENT="org.mockito.Captor class">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- parent.document.title="Captor (Mockito API)";
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Captor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/BDDMockito.BDDStubberImpl.html" title="class in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/InjectMocks.html" title="annotation in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/Captor.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Captor.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: REQUIRED | OPTIONAL</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: ELEMENT</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.mockito</FONT>
-<BR>
-Annotation Type Captor</H2>
-<HR>
-<DL>
-<DT><PRE><FONT SIZE="-1">@Retention(value=RUNTIME)
-@Target(value=FIELD)
-@Documented
-</FONT>public @interface <B>Captor</B></DL>
-</PRE>
-
-<P>
-Allows shorthand <A HREF="../../org/mockito/ArgumentCaptor.html" title="class in org.mockito"><CODE>ArgumentCaptor</CODE></A> creation on fields.
- <p>Example:
- <pre>
- public class Test{
-
- @Captor ArgumentCaptor<AsyncCallback<Foo>> captor;
-
- @Before
- public void init(){
- MockitoAnnotations.initMocks(this);
- }
-
- @Test public void shouldDoSomethingUseful() {
- //...
- verify(mock.doStuff(captor.capture()));
- assertEquals("foo", captor.getValue());
- }
- }
- </pre>
- <p>
- One of the advantages of using @Captor annotation is that you can avoid warnings related capturing complex generic types.
-<P>
-
-<P>
-
-<P>
-
-<P>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Captor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/BDDMockito.BDDStubberImpl.html" title="class in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/InjectMocks.html" title="annotation in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/Captor.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Captor.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: REQUIRED | OPTIONAL</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: ELEMENT</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-
-</BODY>
-</HTML>
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/64def0ef/tools/mockito/javadoc/org/mockito/InOrder.html
----------------------------------------------------------------------
diff --git a/tools/mockito/javadoc/org/mockito/InOrder.html b/tools/mockito/javadoc/org/mockito/InOrder.html
deleted file mode 100644
index aa71bb8..0000000
--- a/tools/mockito/javadoc/org/mockito/InOrder.html
+++ /dev/null
@@ -1,324 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Mon May 24 23:03:13 CEST 2010 -->
-<TITLE>
-InOrder (Mockito API)
-</TITLE>
-
-<META NAME="keywords" CONTENT="org.mockito.InOrder interface">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- parent.document.title="InOrder (Mockito API)";
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InOrder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/InjectMocks.html" title="annotation in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/InOrder.html" target="_top"><B>FRAMES</B></A>
- <A HREF="InOrder.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.mockito</FONT>
-<BR>
-Interface InOrder</H2>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../org/mockito/internal/InOrderImpl.html" title="class in org.mockito.internal">InOrderImpl</A></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public interface <B>InOrder</B></DL>
-</PRE>
-
-<P>
-Allows verification in order. E.g:
-
- <pre>
- InOrder inOrder = inOrder(firstMock, secondMock);
-
- inOrder.verify(firstMock).add("was called first");
- inOrder.verify(secondMock).add("was called second");
- </pre>
-
- As of Mockito 1.8.4 you can verifyNoMoreInvocations() in order-sensitive way. Read more: <A HREF="../../org/mockito/InOrder.html#verifyNoMoreInteractions()"><CODE>verifyNoMoreInteractions()</CODE></A>
- <p>
-
- See examples in javadoc for <A HREF="../../org/mockito/Mockito.html" title="class in org.mockito"><CODE>Mockito</CODE></A> class
-<P>
-
-<P>
-<HR>
-
-<P>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/InOrder.html#verify(T)">verify</A></B>(T mock)</CODE>
-
-<BR>
- Verifies interaction <b>happened once</b> in order.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/InOrder.html#verify(T, org.mockito.verification.VerificationMode)">verify</A></B>(T mock,
- <A HREF="../../org/mockito/verification/VerificationMode.html" title="interface in org.mockito.verification">VerificationMode</A> mode)</CODE>
-
-<BR>
- Verifies interaction in order.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/InOrder.html#verifyNoMoreInteractions()">verifyNoMoreInteractions</A></B>()</CODE>
-
-<BR>
- Verifies that no more interactions happened <b>in order</b>.</TD>
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="verify(java.lang.Object)"><!-- --></A><A NAME="verify(T)"><!-- --></A><H3>
-verify</H3>
-<PRE>
-<T> T <B>verify</B>(T mock)</PRE>
-<DL>
-<DD>Verifies interaction <b>happened once</b> in order.
- <p>
- Alias to <code>inOrder.verify(mock, times(1))</code>
- <p>
- Example:
- <pre>
- InOrder inOrder = inOrder(firstMock, secondMock);
-
- inOrder.verify(firstMock).someMethod("was called first");
- inOrder.verify(secondMock).someMethod("was called second");
- </pre>
-
- See examples in javadoc for <A HREF="../../org/mockito/Mockito.html" title="class in org.mockito"><CODE>Mockito</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>mock</CODE> - to be verified
-<DT><B>Returns:</B><DD>mock object itself</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="verify(java.lang.Object,org.mockito.verification.VerificationMode)"><!-- --></A><A NAME="verify(T, org.mockito.verification.VerificationMode)"><!-- --></A><H3>
-verify</H3>
-<PRE>
-<T> T <B>verify</B>(T mock,
- <A HREF="../../org/mockito/verification/VerificationMode.html" title="interface in org.mockito.verification">VerificationMode</A> mode)</PRE>
-<DL>
-<DD>Verifies interaction in order. E.g:
-
- <pre>
- InOrder inOrder = inOrder(firstMock, secondMock);
-
- inOrder.verify(firstMock, times(2)).someMethod("was called first two times");
- inOrder.verify(secondMock, atLeastOnce()).someMethod("was called second at least once");
- </pre>
-
- See examples in javadoc for <A HREF="../../org/mockito/Mockito.html" title="class in org.mockito"><CODE>Mockito</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>mock</CODE> - to be verified<DD><CODE>mode</CODE> - for example times(x) or atLeastOnce()
-<DT><B>Returns:</B><DD>mock object itself</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="verifyNoMoreInteractions()"><!-- --></A><H3>
-verifyNoMoreInteractions</H3>
-<PRE>
-void <B>verifyNoMoreInteractions</B>()</PRE>
-<DL>
-<DD>Verifies that no more interactions happened <b>in order</b>.
- Different from <A HREF="../../org/mockito/Mockito.html#verifyNoMoreInteractions(java.lang.Object...)"><CODE>Mockito.verifyNoMoreInteractions(Object...)</CODE></A> because the order of verification matters.
- <p>
- Example:
- <pre>
- mock.foo(); //1st
- mock.bar(); //2nd
- mock.baz(); //3rd
-
- InOrder inOrder = inOrder(mock);
-
- inOrder.verify(mock).bar(); //2n
- inOrder.verify(mock).baz(); //3rd (last method)
-
- //passes because there are no more interactions after last method:
- inOrder.verifyNoMoreInteractions();
-
- //however this fails because 1st method was not verified:
- Mockito.verifyNoMoreInteractions(mock);
- </pre>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InOrder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/InjectMocks.html" title="annotation in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/InOrder.html" target="_top"><B>FRAMES</B></A>
- <A HREF="InOrder.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-
-</BODY>
-</HTML>
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/64def0ef/tools/mockito/javadoc/org/mockito/InjectMocks.html
----------------------------------------------------------------------
diff --git a/tools/mockito/javadoc/org/mockito/InjectMocks.html b/tools/mockito/javadoc/org/mockito/InjectMocks.html
deleted file mode 100644
index fcf17e8..0000000
--- a/tools/mockito/javadoc/org/mockito/InjectMocks.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Mon May 24 23:03:13 CEST 2010 -->
-<TITLE>
-InjectMocks (Mockito API)
-</TITLE>
-
-<META NAME="keywords" CONTENT="org.mockito.InjectMocks class">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- parent.document.title="InjectMocks (Mockito API)";
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InjectMocks.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/Captor.html" title="annotation in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/InOrder.html" title="interface in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/InjectMocks.html" target="_top"><B>FRAMES</B></A>
- <A HREF="InjectMocks.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: REQUIRED | OPTIONAL</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: ELEMENT</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.mockito</FONT>
-<BR>
-Annotation Type InjectMocks</H2>
-<HR>
-<DL>
-<DT><PRE><FONT SIZE="-1">@Documented
-@Target(value=FIELD)
-@Retention(value=RUNTIME)
-</FONT>public @interface <B>InjectMocks</B></DL>
-</PRE>
-
-<P>
-<ul>
- <li>Allows shorthand mock and spy injection.</li>
- <li>Minimizes repetitive mock and spy injection.</li>
- </ul>
- <p>
- Currently it only supports setter injection. If you prefer constructor injection - please contribute a patch.
- <p>
- Mockito tries to inject by type (using name in case types are the same).
- Mockito does not throw anything when injection fails - you will have to satisfy the dependencies manually.
- <p>
- Example:
- <pre>
- public class ArticleManagerTest extends SampleBaseTestCase {
-
- @Mock private ArticleCalculator calculator;
- @Mock private ArticleDatabase database;
- @Spy private UserProvider userProvider = new ConsumerUserProvider();
-
- @InjectMocks private ArticleManager manager = new ArticleManager();
-
- @Test public void shouldDoSomething() {
- manager.initiateArticle();
- verify(database).addListener(any(ArticleListener.class));
- }
- }
-
- public class SampleBaseTestCase {
-
- @Before public void initMocks() {
- MockitoAnnotations.initMocks(this);
- }
- }
- </pre>
-
- <b>The field annotated with @InjectMocks must be initialized.</b>
- <p>
- <b><code>MockitoAnnotations.injectMocks(this)</code></b> method has to called to initialize annotated objects.
- <p>
- In above example, <code>injectMocks()</code> is called in @Before (JUnit4) method of test's base class.
- For JUnit3 <code>injectMocks()</code> can go to <code>setup()</code> method of a base class.
- You can also put injectMocks() in your JUnit runner (@RunWith) or use built-in runners: <A HREF="../../org/mockito/runners/MockitoJUnitRunner.html" title="class in org.mockito.runners"><CODE>MockitoJUnitRunner</CODE></A>
-<P>
-
-<P>
-
-<P>
-
-<P>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InjectMocks.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/Captor.html" title="annotation in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/InOrder.html" title="interface in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/InjectMocks.html" target="_top"><B>FRAMES</B></A>
- <A HREF="InjectMocks.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: REQUIRED | OPTIONAL</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: ELEMENT</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-
-</BODY>
-</HTML>
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/64def0ef/tools/mockito/javadoc/org/mockito/Matchers.html
----------------------------------------------------------------------
diff --git a/tools/mockito/javadoc/org/mockito/Matchers.html b/tools/mockito/javadoc/org/mockito/Matchers.html
deleted file mode 100644
index 34629bd..0000000
--- a/tools/mockito/javadoc/org/mockito/Matchers.html
+++ /dev/null
@@ -1,1593 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Mon May 24 23:03:13 CEST 2010 -->
-<TITLE>
-Matchers (Mockito API)
-</TITLE>
-
-<META NAME="keywords" CONTENT="org.mockito.Matchers class">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- parent.document.title="Matchers (Mockito API)";
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Matchers.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/InOrder.html" title="interface in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/Mock.html" title="annotation in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/Matchers.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Matchers.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.mockito</FONT>
-<BR>
-Class Matchers</H2>
-<PRE>
-java.lang.Object
- <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>org.mockito.Matchers</B>
-</PRE>
-<DL>
-<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../org/mockito/Mockito.html" title="class in org.mockito">Mockito</A></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public class <B>Matchers</B><DT>extends java.lang.Object</DL>
-</PRE>
-
-<P>
-Allow flexible verification or stubbing. See also <A HREF="../../org/mockito/AdditionalMatchers.html" title="class in org.mockito"><CODE>AdditionalMatchers</CODE></A>.
- <p>
- <A HREF="../../org/mockito/Mockito.html" title="class in org.mockito"><CODE>Mockito</CODE></A> extends Matchers so to get access to all matchers just import Mockito class statically.
- <pre>
- //stubbing using anyInt() argument matcher
- when(mockedList.get(anyInt())).thenReturn("element");
-
- //following prints "element"
- System.out.println(mockedList.get(999));
-
- //you can also verify using argument matcher
- verify(mockedList).get(anyInt());
- </pre>
- Scroll down to see all methods - full list of matchers.
- <p>
- <b>Warning:</b>
- <p>
- If you are using argument matchers, <b>all arguments</b> have to be provided by matchers.
- <p>
- E.g: (example shows verification but the same applies to stubbing):
- <pre>
- verify(mock).someMethod(anyInt(), anyString(), <b>eq("third argument")</b>);
- //above is correct - eq() is also an argument matcher
-
- verify(mock).someMethod(anyInt(), anyString(), <b>"third argument"</b>);
- //above is incorrect - exception will be thrown because third argument is given without argument matcher.
- </pre>
-
- <h1>Custom Argument Matchers</h1>
-
- Use <A HREF="../../org/mockito/Matchers.html#argThat(org.hamcrest.Matcher)"><CODE>argThat(org.hamcrest.Matcher<T>)</CODE></A> method and pass an instance of hamcrest <CODE>Matcher</CODE>.
- <p>
- Before you start implementing your own custom argument matcher, make sure you check out <A HREF="../../org/mockito/ArgumentCaptor.html" title="class in org.mockito"><CODE>ArgumentCaptor</CODE></A> api.
- <p>
- So, how to implement your own argument matcher?
- First, you might want to subclass <A HREF="../../org/mockito/ArgumentMatcher.html" title="class in org.mockito"><CODE>ArgumentMatcher</CODE></A> which is an hamcrest matcher with predefined describeTo() method.
- Default description generated by describeTo() uses <b>decamelized class name</b> - to promote meaningful class names.
- <p>
- Example:
-
- <pre>
- class IsListOfTwoElements extends ArgumentMatcher<List> {
- public boolean matches(Object list) {
- return ((List) list).size() == 2;
- }
- }
-
- List mock = mock(List.class);
-
- when(mock.addAll(argThat(new IsListOfTwoElements()))).thenReturn(true);
-
- mock.addAll(Arrays.asList("one", "two"));
-
- verify(mock).addAll(argThat(new IsListOfTwoElements()));
- </pre>
-
- To keep it readable you may want to extract method, e.g:
- <pre>
- verify(mock).addAll(<b>argThat(new IsListOfTwoElements())</b>);
- //becomes
- verify(mock).addAll(<b>listOfTwoElements()</b>);
- </pre>
-
- <b>Warning:</b> Be reasonable with using complicated argument matching, especially custom argument matchers, as it can make the test less readable.
- Sometimes it's better to implement equals() for arguments that are passed to mocks
- (Mockito naturally uses equals() for argument matching).
- This can make the test cleaner.
- <p>
- Also, <b>sometimes <A HREF="../../org/mockito/ArgumentCaptor.html" title="class in org.mockito"><CODE>ArgumentCaptor</CODE></A> may be a better fit</b> than custom matcher.
- For example, if custom argument matcher is not likely to be reused
- or you just need it to assert on argument values to complete verification of behavior.
-<P>
-
-<P>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#Matchers()">Matchers</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#any()">any</A></B>()</CODE>
-
-<BR>
- any object or null</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#any(java.lang.Class)">any</A></B>(java.lang.Class<T> clazz)</CODE>
-
-<BR>
- any kind object, not necessary of the given class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyBoolean()">anyBoolean</A></B>()</CODE>
-
-<BR>
- any boolean, Boolean or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyByte()">anyByte</A></B>()</CODE>
-
-<BR>
- any byte, Byte or null</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static char</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyChar()">anyChar</A></B>()</CODE>
-
-<BR>
- any char, Character or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.util.Collection</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyCollection()">anyCollection</A></B>()</CODE>
-
-<BR>
- any Collection or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> java.util.Collection<T></CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyCollectionOf(java.lang.Class)">anyCollectionOf</A></B>(java.lang.Class<T> clazz)</CODE>
-
-<BR>
- generic friendly alias to <A HREF="../../org/mockito/Matchers.html#anyCollection()"><CODE>anyCollection()</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyDouble()">anyDouble</A></B>()</CODE>
-
-<BR>
- any double, Double or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyFloat()">anyFloat</A></B>()</CODE>
-
-<BR>
- any float, Float or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyInt()">anyInt</A></B>()</CODE>
-
-<BR>
- any int, Integer or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.util.List</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyList()">anyList</A></B>()</CODE>
-
-<BR>
- any List or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> java.util.List<T></CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyListOf(java.lang.Class)">anyListOf</A></B>(java.lang.Class<T> clazz)</CODE>
-
-<BR>
- generic friendly alias to <A HREF="../../org/mockito/Matchers.html#anyList()"><CODE>anyList()</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyLong()">anyLong</A></B>()</CODE>
-
-<BR>
- any long, Long or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.util.Map</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyMap()">anyMap</A></B>()</CODE>
-
-<BR>
- any Map or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyObject()">anyObject</A></B>()</CODE>
-
-<BR>
- any Object or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.util.Set</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anySet()">anySet</A></B>()</CODE>
-
-<BR>
- any Set or null</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> java.util.Set<T></CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anySetOf(java.lang.Class)">anySetOf</A></B>(java.lang.Class<T> clazz)</CODE>
-
-<BR>
- generic friendly alias to <A HREF="../../org/mockito/Matchers.html#anySet()"><CODE>anySet()</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyShort()">anyShort</A></B>()</CODE>
-
-<BR>
- any short, Short or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyString()">anyString</A></B>()</CODE>
-
-<BR>
- any String or null.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#anyVararg()">anyVararg</A></B>()</CODE>
-
-<BR>
- Any vararg, meaning any number and values of arguments.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#argThat(org.hamcrest.Matcher)">argThat</A></B>(org.hamcrest.Matcher<T> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#booleanThat(org.hamcrest.Matcher)">booleanThat</A></B>(org.hamcrest.Matcher<java.lang.Boolean> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#byteThat(org.hamcrest.Matcher)">byteThat</A></B>(org.hamcrest.Matcher<java.lang.Byte> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static char</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#charThat(org.hamcrest.Matcher)">charThat</A></B>(org.hamcrest.Matcher<java.lang.Character> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#contains(java.lang.String)">contains</A></B>(java.lang.String substring)</CODE>
-
-<BR>
- String argument that contains the given substring.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#doubleThat(org.hamcrest.Matcher)">doubleThat</A></B>(org.hamcrest.Matcher<java.lang.Double> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#endsWith(java.lang.String)">endsWith</A></B>(java.lang.String suffix)</CODE>
-
-<BR>
- String argument that ends with the given suffix.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(boolean)">eq</A></B>(boolean value)</CODE>
-
-<BR>
- boolean argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(byte)">eq</A></B>(byte value)</CODE>
-
-<BR>
- byte argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static char</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(char)">eq</A></B>(char value)</CODE>
-
-<BR>
- char argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(double)">eq</A></B>(double value)</CODE>
-
-<BR>
- double argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(float)">eq</A></B>(float value)</CODE>
-
-<BR>
- float argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(int)">eq</A></B>(int value)</CODE>
-
-<BR>
- int argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(long)">eq</A></B>(long value)</CODE>
-
-<BR>
- long argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(short)">eq</A></B>(short value)</CODE>
-
-<BR>
- short argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#eq(T)">eq</A></B>(T value)</CODE>
-
-<BR>
- Object argument that is equal to the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#floatThat(org.hamcrest.Matcher)">floatThat</A></B>(org.hamcrest.Matcher<java.lang.Float> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#intThat(org.hamcrest.Matcher)">intThat</A></B>(org.hamcrest.Matcher<java.lang.Integer> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#isA(java.lang.Class)">isA</A></B>(java.lang.Class<T> clazz)</CODE>
-
-<BR>
- Object argument that implements the given class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.Object</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#isNotNull()">isNotNull</A></B>()</CODE>
-
-<BR>
- not null argument.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.Object</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#isNull()">isNull</A></B>()</CODE>
-
-<BR>
- null argument.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#longThat(org.hamcrest.Matcher)">longThat</A></B>(org.hamcrest.Matcher<java.lang.Long> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#matches(java.lang.String)">matches</A></B>(java.lang.String regex)</CODE>
-
-<BR>
- String argument that matches the given regular expression.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.Object</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#notNull()">notNull</A></B>()</CODE>
-
-<BR>
- not null argument.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#refEq(T, java.lang.String...)">refEq</A></B>(T value,
- java.lang.String... excludeFields)</CODE>
-
-<BR>
- Object argument that is reflection-equal to the given value with support for excluding
- selected fields from a class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
-<TR ALIGN="right" VALIGN="">
-<TD NOWRAP><FONT SIZE="-1">
-<CODE><T> T</CODE></FONT></TD>
-</TR>
-</TABLE>
-</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#same(T)">same</A></B>(T value)</CODE>
-
-<BR>
- Object argument that is the same as the given value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#shortThat(org.hamcrest.Matcher)">shortThat</A></B>(org.hamcrest.Matcher<java.lang.Short> matcher)</CODE>
-
-<BR>
- Allows creating custom argument matchers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../org/mockito/Matchers.html#startsWith(java.lang.String)">startsWith</A></B>(java.lang.String prefix)</CODE>
-
-<BR>
- String argument that starts with the given prefix.</TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="Matchers()"><!-- --></A><H3>
-Matchers</H3>
-<PRE>
-public <B>Matchers</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="anyBoolean()"><!-- --></A><H3>
-anyBoolean</H3>
-<PRE>
-public static boolean <B>anyBoolean</B>()</PRE>
-<DL>
-<DD>any boolean, Boolean or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>false</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyByte()"><!-- --></A><H3>
-anyByte</H3>
-<PRE>
-public static byte <B>anyByte</B>()</PRE>
-<DL>
-<DD>any byte, Byte or null
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyChar()"><!-- --></A><H3>
-anyChar</H3>
-<PRE>
-public static char <B>anyChar</B>()</PRE>
-<DL>
-<DD>any char, Character or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyInt()"><!-- --></A><H3>
-anyInt</H3>
-<PRE>
-public static int <B>anyInt</B>()</PRE>
-<DL>
-<DD>any int, Integer or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyLong()"><!-- --></A><H3>
-anyLong</H3>
-<PRE>
-public static long <B>anyLong</B>()</PRE>
-<DL>
-<DD>any long, Long or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyFloat()"><!-- --></A><H3>
-anyFloat</H3>
-<PRE>
-public static float <B>anyFloat</B>()</PRE>
-<DL>
-<DD>any float, Float or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyDouble()"><!-- --></A><H3>
-anyDouble</H3>
-<PRE>
-public static double <B>anyDouble</B>()</PRE>
-<DL>
-<DD>any double, Double or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyShort()"><!-- --></A><H3>
-anyShort</H3>
-<PRE>
-public static short <B>anyShort</B>()</PRE>
-<DL>
-<DD>any short, Short or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyObject()"><!-- --></A><H3>
-anyObject</H3>
-<PRE>
-public static <T> T <B>anyObject</B>()</PRE>
-<DL>
-<DD>any Object or null.
- <p>
- Has aliases: <A HREF="../../org/mockito/Matchers.html#any()"><CODE>any()</CODE></A> and <A HREF="../../org/mockito/Matchers.html#any(java.lang.Class)"><CODE>any(Class clazz)</CODE></A>
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyVararg()"><!-- --></A><H3>
-anyVararg</H3>
-<PRE>
-public static <T> T <B>anyVararg</B>()</PRE>
-<DL>
-<DD>Any vararg, meaning any number and values of arguments.
- <p>
- Example:
- <pre>
- //verification:
- mock.foo(1, 2);
- mock.foo(1, 2, 3, 4);
-
- verify(mock, times(2)).foo(anyVararg());
-
- //stubbing:
- when(mock.foo(anyVararg()).thenReturn(100);
-
- //prints 100
- System.out.println(mock.foo(1, 2));
- //also prints 100
- System.out.println(mock.foo(1, 2, 3, 4));
- </pre>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="any(java.lang.Class)"><!-- --></A><H3>
-any</H3>
-<PRE>
-public static <T> T <B>any</B>(java.lang.Class<T> clazz)</PRE>
-<DL>
-<DD>any kind object, not necessary of the given class.
- The class argument is provided only to avoid casting.
- <p>
- Sometimes looks better than anyObject() - especially when explicit casting is required
- <p>
- Alias to <A HREF="../../org/mockito/Matchers.html#anyObject()"><CODE>anyObject()</CODE></A>
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="any()"><!-- --></A><H3>
-any</H3>
-<PRE>
-public static <T> T <B>any</B>()</PRE>
-<DL>
-<DD>any object or null
- <p>
- Shorter alias to <A HREF="../../org/mockito/Matchers.html#anyObject()"><CODE>anyObject()</CODE></A>
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyString()"><!-- --></A><H3>
-anyString</H3>
-<PRE>
-public static java.lang.String <B>anyString</B>()</PRE>
-<DL>
-<DD>any String or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty String ("")</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyList()"><!-- --></A><H3>
-anyList</H3>
-<PRE>
-public static java.util.List <B>anyList</B>()</PRE>
-<DL>
-<DD>any List or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty List.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyListOf(java.lang.Class)"><!-- --></A><H3>
-anyListOf</H3>
-<PRE>
-public static <T> java.util.List<T> <B>anyListOf</B>(java.lang.Class<T> clazz)</PRE>
-<DL>
-<DD>generic friendly alias to <A HREF="../../org/mockito/Matchers.html#anyList()"><CODE>anyList()</CODE></A>.
- It's an alternative to @SuppressWarnings("unchecked") to keep code clean of compiler warnings.
- <p>
- any List or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty List.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anySet()"><!-- --></A><H3>
-anySet</H3>
-<PRE>
-public static java.util.Set <B>anySet</B>()</PRE>
-<DL>
-<DD>any Set or null
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty Set</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anySetOf(java.lang.Class)"><!-- --></A><H3>
-anySetOf</H3>
-<PRE>
-public static <T> java.util.Set<T> <B>anySetOf</B>(java.lang.Class<T> clazz)</PRE>
-<DL>
-<DD>generic friendly alias to <A HREF="../../org/mockito/Matchers.html#anySet()"><CODE>anySet()</CODE></A>.
- It's an alternative to @SuppressWarnings("unchecked") to keep code clean of compiler warnings.
- <p>
- any Set or null
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty Set</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyMap()"><!-- --></A><H3>
-anyMap</H3>
-<PRE>
-public static java.util.Map <B>anyMap</B>()</PRE>
-<DL>
-<DD>any Map or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty Map.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyCollection()"><!-- --></A><H3>
-anyCollection</H3>
-<PRE>
-public static java.util.Collection <B>anyCollection</B>()</PRE>
-<DL>
-<DD>any Collection or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty Collection.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="anyCollectionOf(java.lang.Class)"><!-- --></A><H3>
-anyCollectionOf</H3>
-<PRE>
-public static <T> java.util.Collection<T> <B>anyCollectionOf</B>(java.lang.Class<T> clazz)</PRE>
-<DL>
-<DD>generic friendly alias to <A HREF="../../org/mockito/Matchers.html#anyCollection()"><CODE>anyCollection()</CODE></A>.
- It's an alternative to @SuppressWarnings("unchecked") to keep code clean of compiler warnings.
- <p>
- any Collection or null.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>empty Collection.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isA(java.lang.Class)"><!-- --></A><H3>
-isA</H3>
-<PRE>
-public static <T> T <B>isA</B>(java.lang.Class<T> clazz)</PRE>
-<DL>
-<DD>Object argument that implements the given class.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the accepted type.<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - the class of the accepted type.
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(boolean)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static boolean <B>eq</B>(boolean value)</PRE>
-<DL>
-<DD>boolean argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(byte)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static byte <B>eq</B>(byte value)</PRE>
-<DL>
-<DD>byte argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(char)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static char <B>eq</B>(char value)</PRE>
-<DL>
-<DD>char argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(double)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static double <B>eq</B>(double value)</PRE>
-<DL>
-<DD>double argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(float)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static float <B>eq</B>(float value)</PRE>
-<DL>
-<DD>float argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(int)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static int <B>eq</B>(int value)</PRE>
-<DL>
-<DD>int argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(long)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static long <B>eq</B>(long value)</PRE>
-<DL>
-<DD>long argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(short)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static short <B>eq</B>(short value)</PRE>
-<DL>
-<DD>short argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="eq(java.lang.Object)"><!-- --></A><A NAME="eq(T)"><!-- --></A><H3>
-eq</H3>
-<PRE>
-public static <T> T <B>eq</B>(T value)</PRE>
-<DL>
-<DD>Object argument that is equal to the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="refEq(java.lang.Object,java.lang.String)"><!-- --></A><A NAME="refEq(T, java.lang.String...)"><!-- --></A><H3>
-refEq</H3>
-<PRE>
-public static <T> T <B>refEq</B>(T value,
- java.lang.String... excludeFields)</PRE>
-<DL>
-<DD>Object argument that is reflection-equal to the given value with support for excluding
- selected fields from a class.
- <p>
- This matcher can be used when equals() is not implemented on compared objects.
- Matcher uses java reflection API to compare fields of wanted and actual object.
- <p>
- Works similarly to EqualsBuilder.reflectionEquals(this, other, exlucdeFields) from
- apache commons library.
- <p>
- <b>Warning</b> The equality check is shallow!
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.<DD><CODE>excludeFields</CODE> - fields to exclude, if field does not exist it is ignored.
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="same(java.lang.Object)"><!-- --></A><A NAME="same(T)"><!-- --></A><H3>
-same</H3>
-<PRE>
-public static <T> T <B>same</B>(T value)</PRE>
-<DL>
-<DD>Object argument that is the same as the given value.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the type of the object, it is passed through to prevent casts.<DT><B>Parameters:</B><DD><CODE>value</CODE> - the given value.
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNull()"><!-- --></A><H3>
-isNull</H3>
-<PRE>
-public static java.lang.Object <B>isNull</B>()</PRE>
-<DL>
-<DD>null argument.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="notNull()"><!-- --></A><H3>
-notNull</H3>
-<PRE>
-public static java.lang.Object <B>notNull</B>()</PRE>
-<DL>
-<DD>not null argument.
- <p>
- alias to <A HREF="../../org/mockito/Matchers.html#isNotNull()"><CODE>isNotNull()</CODE></A>
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNotNull()"><!-- --></A><H3>
-isNotNull</H3>
-<PRE>
-public static java.lang.Object <B>isNotNull</B>()</PRE>
-<DL>
-<DD>not null argument.
- <p>
- alias to <A HREF="../../org/mockito/Matchers.html#notNull()"><CODE>notNull()</CODE></A>
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="contains(java.lang.String)"><!-- --></A><H3>
-contains</H3>
-<PRE>
-public static java.lang.String <B>contains</B>(java.lang.String substring)</PRE>
-<DL>
-<DD>String argument that contains the given substring.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>substring</CODE> - the substring.
-<DT><B>Returns:</B><DD>empty String ("").</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="matches(java.lang.String)"><!-- --></A><H3>
-matches</H3>
-<PRE>
-public static java.lang.String <B>matches</B>(java.lang.String regex)</PRE>
-<DL>
-<DD>String argument that matches the given regular expression.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>regex</CODE> - the regular expression.
-<DT><B>Returns:</B><DD>empty String ("").</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="endsWith(java.lang.String)"><!-- --></A><H3>
-endsWith</H3>
-<PRE>
-public static java.lang.String <B>endsWith</B>(java.lang.String suffix)</PRE>
-<DL>
-<DD>String argument that ends with the given suffix.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>suffix</CODE> - the suffix.
-<DT><B>Returns:</B><DD>empty String ("").</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="startsWith(java.lang.String)"><!-- --></A><H3>
-startsWith</H3>
-<PRE>
-public static java.lang.String <B>startsWith</B>(java.lang.String prefix)</PRE>
-<DL>
-<DD>String argument that starts with the given prefix.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - the prefix.
-<DT><B>Returns:</B><DD>empty String ("").</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="argThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-argThat</H3>
-<PRE>
-public static <T> T <B>argThat</B>(org.hamcrest.Matcher<T> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/ArgumentMatcher.html" title="class in org.mockito"><CODE>ArgumentMatcher</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>null</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="charThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-charThat</H3>
-<PRE>
-public static char <B>charThat</B>(org.hamcrest.Matcher<java.lang.Character> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="booleanThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-booleanThat</H3>
-<PRE>
-public static boolean <B>booleanThat</B>(org.hamcrest.Matcher<java.lang.Boolean> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>false</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="byteThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-byteThat</H3>
-<PRE>
-public static byte <B>byteThat</B>(org.hamcrest.Matcher<java.lang.Byte> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="shortThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-shortThat</H3>
-<PRE>
-public static short <B>shortThat</B>(org.hamcrest.Matcher<java.lang.Short> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-intThat</H3>
-<PRE>
-public static int <B>intThat</B>(org.hamcrest.Matcher<java.lang.Integer> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="longThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-longThat</H3>
-<PRE>
-public static long <B>longThat</B>(org.hamcrest.Matcher<java.lang.Long> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="floatThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-floatThat</H3>
-<PRE>
-public static float <B>floatThat</B>(org.hamcrest.Matcher<java.lang.Float> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="doubleThat(org.hamcrest.Matcher)"><!-- --></A><H3>
-doubleThat</H3>
-<PRE>
-public static double <B>doubleThat</B>(org.hamcrest.Matcher<java.lang.Double> matcher)</PRE>
-<DL>
-<DD>Allows creating custom argument matchers.
- <p>
- See examples in javadoc for <A HREF="../../org/mockito/Matchers.html" title="class in org.mockito"><CODE>Matchers</CODE></A> class
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>matcher</CODE> - decides whether argument matches
-<DT><B>Returns:</B><DD><code>0</code>.</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Matchers.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../org/mockito/InOrder.html" title="interface in org.mockito"><B>PREV CLASS</B></A>
- <A HREF="../../org/mockito/Mock.html" title="annotation in org.mockito"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?org/mockito/Matchers.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Matchers.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-
-</BODY>
-</HTML>