def METHOD_NAME(self):
    obj = Curve([])
    stream = PlotReset(source=obj)
    server_doc = bokeh_renderer.server_doc(obj)
    self.assertIsInstance(server_doc, Document)
    cb = bokeh_renderer.last_plot.callbacks[0]
    self.assertIsInstance(cb, ResetCallback)
    self.assertEqual(cb.streams, [stream])