def METHOD_NAME(self):
    viewer = self.get_viewer()
    self.assertTrue(viewer.is_server_running)
    self.assertIsInstance(viewer.datasets_ctx, DatasetsContext)
    viewer.stop_server()
    self.assertFalse(viewer.is_server_running)