org.virtualmock.matcher
Class MatcherUtils

java.lang.Object
  extended byorg.virtualmock.matcher.MatcherUtils

public class MatcherUtils
extends java.lang.Object

Common utilities used by ArgMatcher implementations.

Version:
$Revision: 1.3 $
Author:
Chad Woolley

Constructor Summary
MatcherUtils()
           
 
Method Summary
 boolean areBothNotNull(java.lang.Object objectOne, java.lang.Object objectTwo)
          Checks if both arguments are not null.
 boolean areBothNull(java.lang.Object objectOne, java.lang.Object objectTwo)
          Checks if both arguments are null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatcherUtils

public MatcherUtils()
Method Detail

areBothNotNull

public boolean areBothNotNull(java.lang.Object objectOne,
                              java.lang.Object objectTwo)
Checks if both arguments are not null.

Parameters:
objectOne - first argument
objectTwo - second argument
Returns:
true if both arguments are not null

areBothNull

public boolean areBothNull(java.lang.Object objectOne,
                           java.lang.Object objectTwo)
Checks if both arguments are null.

Parameters:
objectOne - first argument
objectTwo - second argument
Returns:
true if both arguments are null


Copyright © 2003-2005 Virtual Mock. All Rights Reserved.