public class UnknownGroupExceptionTest extends TestCase {
/**
* Test method for {@link java.rmi.activation.UnknownGroupException#UnknownGroupException(java.lang.String)}.
*/
public void testUnknownGroupException() {
UnknownGroupException e = new UnknownGroupException("fixture");
assertEquals("fixture", e.getMessage());
assertNull(e.getCause());
assertNull(e.detail);
try {
e.initCause(new NullPointerException());
fail("did not throw illegal state exception");
} catch (IllegalStateException ise) {
}
}