@Test
@Timeout(2_000)
public void testInvalidFrameOnStream0ShouldNotTerminateRSocket() {

  rule.connection.addToReceivedBuffer(RequestNFrameCodec.encode(rule.alloc(), 0, 10));
  Assertions.assertThat(rule.socket.isDisposed()).isFalse();
  rule.assertHasNoLeaks();
}