Class NullOrVoidMatcher<T>

java.lang.Object
org.hamcrest.BaseMatcher<T>
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    boolean
     

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NullOrVoidMatcher

      public NullOrVoidMatcher()
  • Method Details

    • matches

      public boolean matches(Object item)
    • describeTo

      public void describeTo(org.hamcrest.Description description)