ResultMessage implements Serializable { public static ResultMessage fromCode(String code, Object... args) { Assert.notNull(code, "code must not be null"); return new ResultMessage(code, args, null); } ResultMessage(String code, Object[] args, String text); static ResultMessage fromCode(String code, Object... args); static ResultMessage fromText(String text); String getCode(); Object[] getArgs(); String getText(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test(expected = IllegalArgumentException.class) public void test07() { ResultMessage.fromCode(null); }
@Test(expected = IllegalArgumentException.class) public void test08() { ResultMessage.fromCode(null, (Object[]) null); }