@Test
public void testAssertNotNullWithSpecificException() {

  try {
    assertNotNull(null, new UnsupportedOperationException());
    fail();
  } catch (final UnsupportedOperationException e) {
    // good we expected this
  }
}