def METHOD_NAME(self):
    self.assertRaises(cache.InvalidSessionError, cache.get, KEY)
    session_id = cache.start_session()
    self.assertTrue(is_session_started())
    self.assertIsNone(cache.get(KEY))
    await_result(handle_EndSession(EndSession()))
    self.assertFalse(is_session_started())
    self.assertRaises(cache.InvalidSessionError, cache.get, KEY)