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

    ResultMessages messages = new ResultMessages((ResultMessageType) ERROR);
    messages.addAll((Collection<ResultMessage>) null);
}