/**
* {@link java.rmi.UnknownHostException#UnknownHostException(java.lang.String, java.lang.Exception)}.
*/
public void testUnknownHostExceptionStringException() {
NullPointerException npe = new NullPointerException();
UnknownHostException e = new UnknownHostException("fixture", npe);
assertTrue(e.getMessage().indexOf("fixture") > -1);
assertSame(npe, e.getCause());
assertSame(npe, e.detail);
}