org.axonframework.test.matchers
Class NullOrVoidMatcher<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.axonframework.test.matchers.NullOrVoidMatcher<T>
Type Parameters:
T - The generic type of the mather
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class NullOrVoidMatcher<T>
extends org.hamcrest.BaseMatcher<T>

Matcher that matches against a null or void value. Can be used to make sure no trailing events remain when using an Exact Sequence Matcher.

Since:
1.1
Author:
Allard Buijze

Constructor Summary
NullOrVoidMatcher()
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(Object item)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullOrVoidMatcher

public NullOrVoidMatcher()
Method Detail

matches

public boolean matches(Object item)

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2010-2016. All Rights Reserved.