def METHOD_NAME(self):
    """Test passing in IBMBackend instance."""
    backend = MagicMock(spec=IBMBackend)
    backend._instance = None
    backend.name = "ibm_gotham"
    session = Session(service=MagicMock(), backend=backend)
    self.assertEqual(session.backend(), "ibm_gotham")