def METHOD_NAME(self, service):
    """Test getting all backends."""
    backends = service.backends()
    self.assertTrue(backends)
    backend_names = [back.name for back in backends]
    self.assertEqual(
        len(backend_names),
        len(set(backend_names)),
        f"backend_names={backend_names}",
    )