public class UnknownObjectExceptionTest extends TestCase {
/**
* Test method for {@link java.rmi.activation.UnknownObjectException#UnknownObjectException(java.lang.String)}.
*/
public void testUnknownObjectException() {
UnknownObjectException e = new UnknownObjectException("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) {
}
}