def METHOD_NAME(self, env):
    """Will be executed before the testcase."""
    # Client 1 connects, server accepts and stores the connection index,
    env.client1.connect()
    self._conn_idx["client1"] = env.server.accept_connection()
    # Client 2 connects, server accepts and stores the connection index,
    env.client2.connect()
    self._conn_idx["client2"] = env.server.accept_connection()