Was checking the wrong channel to see if it was still open or not. The channel that the test was checking on was disconnected a few lines above.
NettyChannelAssertions class has been modified so you could add a message to the assertion. Unit tests have been added to test the modified processConnect() method. The server can allow zero byte client identifiers through moquette configuration.