/** * Returns a test instance of {@link ResumeOkFrame}. * * @return a test instance of {@link ResumeOkFrame} */ public static ResumeOkFrame createTestResumeOkFrame() { return createResumeOkFrame(DEFAULT, 1); }
public static ResumeOkFrame createTestResumeOkFrame() { return createResumeOkFrame(DEFAULT, 1); }
@DisplayName("createResumeOkFrame throws NullPointerException with null byteBufAllocator") @Test void createResumeOkFrameNullByteBufAllocator() { assertThatNullPointerException() .isThrownBy(() -> createResumeOkFrame(null, 100)) .withMessage("byteBufAllocator must not be null"); }
return createResumeFrame(byteBuf); case RESUME_OK: return createResumeOkFrame(byteBuf); case EXT: return createExtensionFrame(byteBuf);
return createResumeFrame(byteBuf); case RESUME_OK: return createResumeOkFrame(byteBuf); case EXT: return createExtensionFrame(byteBuf);