public void joinChannel(String name) {
        joinChannel(configuration.findChannel(name));
    }
@Test
    public void doJoinChannelTestNoKey() {
        endpoint.joinChannel("#chan1");
        verify(connection).doJoin("#chan1");
    }