@Test
public void testAssertNotNull() {

  JBBPUtils.assertNotNull(new Object(), "test");
  final String message = "Test message";
  try {
    JBBPUtils.assertNotNull(null, message);
    fail("Must throw NPE");
  } catch (NullPointerException ex) {
    assertSame(message, ex.getMessage());
  }
  try {
    JBBPUtils.assertNotNull(null, null);
    fail("Must throw NPE");
  } catch (NullPointerException ex) {
    assertNotNull(message, ex.getMessage());
  }
}