### Question:
NullMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { return target == null; }  boolean matches(T target); @Override String toString();  }### Answer:
@Test public void testMatch() throws Exception { assertThat(new NullMatcher<Object>().matches(null), is(true)); }
@Test public void testPositiveToNegative() throws Exception { assertThat(new NullMatcher<Object>().matches(new Object()), is(false)); }