@Test
public void idleOutboundStreamShouldNotWriteResetFrameOnClose() {

    childChannelInitializer.handler = new LastInboundHandler();
    Channel childChannel = newOutboundStream();
    assertTrue(childChannel.isActive());
    childChannel.close();
    parentChannel.runPendingTasks();
    assertFalse(childChannel.isOpen());
    assertFalse(childChannel.isActive());
    assertNull(parentChannel.readOutbound());
}