@Test public void testValidateWithNonISOMsgThrowsNullPointerException() throws Throwable { try { new ISOMsgFieldValidatingPackager(new IFA_BINARY(100, "testISOMsgFieldValidatingPackagerDescription"), new ISOBaseValidatingPackager()).validate(new ISOField(100)); fail("Expected ClassCastException to be thrown"); } catch (NullPointerException ex) { assertEquals(NullPointerException.class, ex.getClass(), "ex.getClass()"); } }
public ISOComponent validate(ISOComponent m) throws ISOException { return ((ISOBaseValidatingPackager)msgPackager).validate( m ); }
ISOMsgFieldValidatingPackager extends ISOMsgFieldPackager implements ISOValidator { public ISOComponent validate(ISOComponent m) throws ISOException { return ((ISOBaseValidatingPackager)msgPackager).validate( m ); } }
ISOMsgFieldValidatingPackager extends ISOMsgFieldPackager implements ISOValidator { public ISOComponent validate(ISOComponent m) throws ISOException { return ((ISOBaseValidatingPackager)msgPackager).validate( m ); } ISOMsgFieldValidatingPackager(
            ISOFieldPackager fieldPackager,
            ISOPackager msgPackager ); }
ISOMsgFieldValidatingPackager extends ISOMsgFieldPackager implements ISOValidator { public ISOComponent validate(ISOComponent m) throws ISOException { return ((ISOBaseValidatingPackager)msgPackager).validate( m ); } ISOMsgFieldValidatingPackager(
            ISOFieldPackager fieldPackager,
            ISOPackager msgPackager ); ISOComponent validate(ISOComponent m); }
ISOMsgFieldValidatingPackager extends ISOMsgFieldPackager implements ISOValidator { public ISOComponent validate(ISOComponent m) throws ISOException { return ((ISOBaseValidatingPackager)msgPackager).validate( m ); } ISOMsgFieldValidatingPackager(
            ISOFieldPackager fieldPackager,
            ISOPackager msgPackager ); ISOComponent validate(ISOComponent m);  }