jpos / jPOS

jPOS Project
http://jpos.org
GNU Affero General Public License v3.0
599 stars 458 forks source link

`ISOMsg`: add helper methods to identify the message class. #557

Closed fgonzal closed 11 months ago

fgonzal commented 11 months ago

This PR adds the following methods to ISOMsg, aimed to help identify the message class:

Example:

ISOMsg msg = new ISOMsg("2100"); 
assertTrue(msg.isAuthorization());

Unit test cases were added to cover all those new methods.