@Test
public void testAcceptThrowsSocketException() throws Throwable {
BaseChannel gZIPChannel = new GZIPChannel();
ServerSocket s = new ServerSocket();
try {
gZIPChannel.accept(s);
fail("Expected SocketException to be thrown");
} catch (SocketException ex) {
assertEquals("ex.getClass()", SocketException.class, ex.getClass());
assertNull("(GZIPChannel) gZIPChannel.logger", ((GZIPChannel) gZIPChannel).logger);
assertNull("(GZIPChannel) gZIPChannel.originalRealm", ((GZIPChannel) gZIPChannel).originalRealm);