def _new_client(self, connect=True):
client = TestStompClient(self.server_address)<EOL>self.clients.append(client)<EOL>if connect:<EOL><INDENT>client.connect()<EOL>res = client.received_frames.get(timeout=<NUM_LIT:1>)<EOL>self.assertEqual(res.cmd, frames.CONNECTED)<EOL><DEDENT>return client<EOL>
Get a new L{TestStompClient} connected to our test server. 

The client will also be registered for close in the tearDown method.

@param connect: Whether to issue the CONNECT command.
@type connect: C{bool}

@rtype: L{TestStompClient}