214215216217218219220221222223224
false, 'X', 'Z', ProcessingDirection.RIGHT_TO_LEFT ); validator.initialize( modCheck ); assertFalse( validator.isValid( "123458Z", null ) ); assertFalse( validator.isValid( "1234557X", null ) ); }
232233234235236237238239240241242
false, 'X', 'Z', ProcessingDirection.LEFT_TO_RIGHT ); validator.initialize( modCheck ); assertTrue( validator.isValid( "059697873Z", null ) ); assertTrue( validator.isValid( "5754321X", null ) ); }
250251252253254255256257258259260
false, 'X', 'Z', ProcessingDirection.LEFT_TO_RIGHT ); validator.initialize( modCheck ); assertFalse( validator.isValid( "378796950Z", null ) ); assertFalse( validator.isValid( "1234557X", null ) ); }