public void testEquals() throws SecurityException, NoSuchMethodException {
final Method toPreventNullPointerExceptionm = Object.class.getMethod("toString", new Class[] {});
final Object mock = new Object();
final ExpectedInvocation matchableArguments = new ExpectedInvocation(new Invocation(mock,
toPreventNullPointerExceptionm, arguments), null);
final ExpectedInvocation nonEqualMatchableArguments = new ExpectedInvocation(new Invocation(mock,
toPreventNullPointerExceptionm, arguments2), null);
assertFalse(matchableArguments.equals(null));
assertFalse(matchableArguments.equals(nonEqualMatchableArguments));
}