@Test(expected = IllegalArgumentException.class)
public void test_broadcast_exception_on_null_packet() {

    final SocketIoAdapter adapter = ADAPTER_FACTORY.createAdapter(null);
    adapter.broadcast(null, null, null);
}