com.hammingweight.hammock
Class NotNullArgumentMatcher

java.lang.Object
  extended by com.hammingweight.hammock.NotNullArgumentMatcher
All Implemented Interfaces:
IArgumentMatcher

public class NotNullArgumentMatcher
extends java.lang.Object
implements IArgumentMatcher

The NotNullArgumentMatcher class checks that a method argument is not null.

Since:
Hammock 2.0
Author:
C.A. Meijer

Constructor Summary
NotNullArgumentMatcher()
           
 
Method Summary
 boolean areArgumentsEqual(java.lang.Object argumentExpected, java.lang.Object argumentActual)
          Checks whether an actual argument is not null.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotNullArgumentMatcher

public NotNullArgumentMatcher()
Method Detail

areArgumentsEqual

public boolean areArgumentsEqual(java.lang.Object argumentExpected,
                                 java.lang.Object argumentActual)
Checks whether an actual argument is not null.

Specified by:
areArgumentsEqual in interface IArgumentMatcher
Parameters:
argumentExpected -
argumentActual -
Returns:
true if and only the actual argument is not null.