@Test public void testTapParserException4() { exception = new ParserException("Null", new NullPointerException()); // NOPMD assertNotNull(exception); assertEquals(exception.getMessage(), "Null"); assertTrue(exception.getCause() instanceof NullPointerException); }
@Test public void testTapParserException3() { exception = new ParserException(new NullPointerException("Null TAP Stream")); // NOPMD assertNotNull(exception); assertTrue(exception.getCause() instanceof NullPointerException); }