final SocketChannel socketChannel = createClientSocketChannel();
// Create the NIOServerCnxn that will handle the client requests
final MockNIOServerCnxn nioCnxn = new MockNIOServerCnxn(fzks,
socketChannel, sk, serverCnxnFactory);
// Send the connection request as a client do
nioCnxn.doIO(sk);
// Send the invalid session packet to the follower
QuorumPacket qp = createInvalidSessionPacket();
quorumPeer.follower.processPacket(qp);
// OK, now the follower knows that the session is invalid, let's try
// to