def METHOD_NAME(self):
    conn = Mock(name='conn')
    loop = Mock(name='loop')
    self.T.register_with_event_loop(conn, loop)
    loop.add_reader.assert_called_with(
        conn.fileno(), self.T.on_readable, conn, loop,
    )