org.jdom2.TestIllegalNameExceptn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdom Show documentation
Show all versions of jdom Show documentation
A complete, Java-based solution for accessing, manipulating,
and outputting XML data
The newest version!
package org.jdom2;
import static org.junit.Assert.*;
import org.junit.Test;
@SuppressWarnings("javadoc")
public class TestIllegalNameExceptn {
@Test
public void testIllegalNameExceptionStringStringString() {
assertTrue (null !=
new IllegalNameException("name", "construct", "reason").getMessage());
}
@Test
public void testIllegalNameExceptionStringString() {
assertTrue (null !=
new IllegalNameException("name", "construct").getMessage());
}
@Test
public void testIllegalNameExceptionString() {
assertTrue (null !=
new IllegalNameException("reason").getMessage());
}
}