@Test
public void sendSettingsFrame() {

    Http2Settings settings = new Http2Settings();
    channel.write(new DefaultHttp2SettingsFrame(settings));
    verify(frameWriter).writeSettings(eq(http2HandlerCtx), same(settings), any(ChannelPromise.class));
}