use of io.netty.channel.ChannelId in project netty by netty.
the class EmbeddedChannelTest method testConstructWithChannelId.
@Test
public void testConstructWithChannelId() {
ChannelId channelId = new CustomChannelId(1);
EmbeddedChannel channel = new EmbeddedChannel(channelId);
assertSame(channelId, channel.id());
}
Aggregations