IsNullMatcher extends AbstractUnaryMatcher { @Override protected boolean matches(Object value) { return value == null; }    }
@Test public void testSubjectIsNull() { assertThat(new IsNullMatcher().matches(null), is(true)); }
@Test public void testSubjectIsNotNull() { assertThat(new IsNullMatcher().matches(new Object()), is(false)); }