def test_aget(self):
        """Test aget async method."""
        event = self.create_event_mock()
        self.kytos_event_buffer._queue.sync_q.put(event)

        expected = self.loop.run_until_complete(self.kytos_event_buffer.aget())

        self.assertEqual(event, expected)