async def METHOD_NAME(self):
    # Create a dummy monitor
    await self.test_create_monitor()
    # Create a monitor search query by it's name
    query = {"query": {"match": {"monitor.name": "test-monitor"}}}
    # Perform the search with the above query
    response = await self.client.alerting.search_monitor(query)
    # Select the first monitor
    monitor = response["hits"]["hits"][0]
    # Fetch the monitor by id
    response = await self.client.alerting.get_monitor(monitor["_id"])
    self.assertNotIn("errors", response)
    self.assertIn("_id", response)
    self.assertIn("monitor", response)