Code example for String

0
        MessageParser pars = parseMessage(null); 
    } 
 
    @Test(expected = IllegalArgumentException.class) 
    public void testEmptyInput() { 
        MessageParser pars = parseMessage(new String()); 
    } 
}