'Any object can be set as app data by passing it to
:py:obj:`Connection.set_app_data` and later retrieved with
:py:obj:`Connection.get_app_data`.'

def test_app_data(self):

    conn = Connection(Context(TLSv1_METHOD), None)
    app_data = object()
    conn.set_app_data(app_data)
    self.assertIdentical(conn.get_app_data(), app_data)
