@Test(expected = IllegalArgumentException.class)
public void testAddAll02_null() {

    ResultMessages messages = new ResultMessages((ResultMessageType) ERROR);
    messages.addAll((ResultMessage[]) null);
}